From 011668883ca62bc727f372fa8abb6a64e3a33aae Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Thu, 16 May 2024 10:01:30 -0400 Subject: [ruby/prism] Always go to string lex mode even if EOF https://github.com/ruby/prism/commit/57d5c9be2c --- test/prism/errors_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/prism/errors_test.rb b/test/prism/errors_test.rb index c6991519c5..65b913fc32 100644 --- a/test/prism/errors_test.rb +++ b/test/prism/errors_test.rb @@ -222,7 +222,7 @@ module Prism def test_cr_without_lf_in_percent_expression assert_errors expression("%\r"), "%\r", [ - ["invalid `%` token", 0..2], + ["unterminated string meets end of file", 2..2], ] end -- cgit v1.2.3