diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2024-03-25 09:24:35 -0400 |
|---|---|---|
| committer | Kevin Newton <kddnewton@gmail.com> | 2024-03-25 11:52:12 -0400 |
| commit | 86077fbcde05f4abd6b306ad0fcc88ee891f8e8b (patch) | |
| tree | 922cc80305c88e318e8488261dae34392d7feeb7 /test | |
| parent | 0bc764b7298fe79ded630841f0781979a9d0d806 (diff) | |
[ruby/prism] Refactor regexp lexing to make it easier to support CLRF
https://github.com/ruby/prism/commit/60805d85ca
Diffstat (limited to 'test')
| -rw-r--r-- | test/prism/encoding_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/prism/encoding_test.rb b/test/prism/encoding_test.rb index 649d05b874..2aee473ddf 100644 --- a/test/prism/encoding_test.rb +++ b/test/prism/encoding_test.rb @@ -344,7 +344,7 @@ module Prism next if ["/", "{"].include?(character) source = "# encoding: #{name}\n/(?##{character})/\n" - assert Prism.parse(source).success? + assert Prism.parse(source).success?, "Expected #{source.inspect} to parse successfully." end rescue RangeError source = "# encoding: #{name}\n\\x#{codepoint.to_s(16)}" |
