From be239cc7bc50d3882bc3dec2bbe1f4f0c1e797fa Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Wed, 15 May 2024 11:27:03 -0400 Subject: [PRISM] Enable TestParse#test_unexpected_eof --- test/ruby/test_parse.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_parse.rb b/test/ruby/test_parse.rb index 1e39fbf72f..c77cdc5673 100644 --- a/test/ruby/test_parse.rb +++ b/test/ruby/test_parse.rb @@ -1390,7 +1390,7 @@ x = __ENCODING__ end def test_unexpected_eof - assert_syntax_error('unless', /^ \^\Z/) + assert_syntax_error('unless', /(^|\| ) \^(?!~)/) end def test_location_of_invalid_token -- cgit v1.2.3