Skip to content

Commit

Permalink
[PRISM] Enable TestParse#test_unexpected_eof
Browse files Browse the repository at this point in the history
  • Loading branch information
kddnewton committed May 15, 2024
1 parent cabc0e0 commit be239cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ruby/test_parse.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@ def test_eof_in_def
end
def test_unexpected_eof
assert_syntax_error('unless', /^ \^\Z/)
assert_syntax_error('unless', /(^|\| ) \^(?!~)/)
end
def test_location_of_invalid_token
Expand Down

0 comments on commit be239cc

Please sign in to comment.