summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_compile_prism.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_compile_prism.rb b/test/ruby/test_compile_prism.rb
index 34d6f74bf6..a3adde48d7 100644
--- a/test/ruby/test_compile_prism.rb
+++ b/test/ruby/test_compile_prism.rb
@@ -546,7 +546,7 @@ module Prism
end
def test_InterpolatedMatchLastLineNode
- assert_prism_eval("$pit = '.oo'; if /\#$pit/mix; end")
+ assert_prism_eval('$pit = ".oo"; if /"#{$pit}"/mix; end')
end
def test_InterpolatedRegularExpressionNode