diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2024-05-16 10:01:30 -0400 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-05-16 14:16:32 +0000 |
| commit | 011668883ca62bc727f372fa8abb6a64e3a33aae (patch) | |
| tree | cdead2d272d7308f4dbd7f84bc5dc2e0845b5886 /test | |
| parent | 477b13ba17d595cda5c8d38da145ef2600702af5 (diff) | |
[ruby/prism] Always go to string lex mode even if EOF
https://github.com/ruby/prism/commit/57d5c9be2c
Diffstat (limited to 'test')
| -rw-r--r-- | test/prism/errors_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
