Skip to content

Commit 7142587

Browse files
committed
Fix test
1 parent 3ff9b17 commit 7142587

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/testdata/desugar/bad_block_pass.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ def a(...); end
55
a[&blk] = 1
66
# ^^^^ error: Unsupported block pass node in non-final argument
77
a.[]=(&blk, 1)
8+
# ^ error: unexpected token ","
89
# ^^^^ error: Unsupported block pass node in non-final argument
9-
# ^ error: Unexpected token ","
1010
a(&blk, 1)
11+
# ^ error: unexpected token ","
1112
# ^^^^ error: Unsupported block pass node in non-final argument
1213
a.[]=(0, &blk, 1)
14+
# ^ error: unexpected token ","
1315
# ^^^^ error: Unsupported block pass node in non-final argument
14-
# ^ error: Unexpected token ","
15-
# ^^^^ error: Unsupported block pass node in non-final argument
1616
a(0, &blk, 1)
17+
# ^ error: unexpected token ","
1718
# ^^^^ error: Unsupported block pass node in non-final argument
18-
# ^ error: Unexpected token ","

0 commit comments

Comments
 (0)