summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-10-10 14:13:53 -0400
committerKevin Newton <kddnewton@gmail.com>2023-10-13 15:31:30 -0400
commit4e3013f42d4562d8e84e88e20e2f76668e8a58f6 (patch)
tree9cddcd64baee4601c3d46ebe4d2b5c646d4bce69 /test
parent3dba3ab47d8d83378d916610d8f4769663ebdf27 (diff)
[ruby/prism] Use current_string to handle %w escapes
https://github.com/ruby/prism/commit/b8420ea7ae
Diffstat (limited to 'test')
-rw-r--r--test/prism/unescape_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/prism/unescape_test.rb b/test/prism/unescape_test.rb
index fe64592861..d93c50f1fc 100644
--- a/test/prism/unescape_test.rb
+++ b/test/prism/unescape_test.rb
@@ -103,7 +103,7 @@ module Prism
# [Context::String.new("<<~'H'\n", "\nH"), escapes],
# [Context::String.new("<<~\"H\"\n", "\nH"), escapes],
# [Context::String.new("<<~`H`\n", "\nH"), escapes],
- # [Context::List.new("%w[", "]"), escapes],
+ [Context::List.new("%w[", "]"), escapes],
# [Context::List.new("%W[", "]"), escapes],
# [Context::List.new("%i[", "]"), escapes],
# [Context::List.new("%I[", "]"), escapes],