diff options
author | Kevin Newton <[email protected]> | 2024-12-20 16:52:10 -0500 |
---|---|---|
committer | git <[email protected]> | 2025-01-12 18:41:42 +0000 |
commit | 14b9098459b88f94e316ccc9274693e74565739e (patch) | |
tree | 3f0d66e89ab1e4599cc549159eee3db88fd5e0d7 /test/prism/encoding/regular_expression_encoding_test.rb | |
parent | 48749afe61fedcfd59cbd2fcc134c55f5ccef7f8 (diff) |
[ruby/prism] Frozen strings in the AST
https://github.com/ruby/prism/commit/8d9d429155
Diffstat (limited to 'test/prism/encoding/regular_expression_encoding_test.rb')
-rw-r--r-- | test/prism/encoding/regular_expression_encoding_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/prism/encoding/regular_expression_encoding_test.rb b/test/prism/encoding/regular_expression_encoding_test.rb index 5d062fe59a..e2daae1d7f 100644 --- a/test/prism/encoding/regular_expression_encoding_test.rb +++ b/test/prism/encoding/regular_expression_encoding_test.rb @@ -119,8 +119,8 @@ module Prism if expected.is_a?(Array) && actual.is_a?(Array) if expected.last.start_with?("/.../n has a non escaped non ASCII character in non ASCII-8BIT script:") && actual.last.start_with?("/.../n has a non escaped non ASCII character in non ASCII-8BIT script:") - expected.last.clear - actual.last.clear + expected.pop + actual.pop end end |