summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ripper/test_parser_events.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ripper/test_parser_events.rb b/test/ripper/test_parser_events.rb
index 3025025fa8..c07fc4a01e 100644
--- a/test/ripper/test_parser_events.rb
+++ b/test/ripper/test_parser_events.rb
@@ -1069,7 +1069,7 @@ class TestRipper::ParserEvents < Test::Unit::TestCase
end
def test_local_variables
- cmd = 'command(w,[regexp_literal(xstring_add(xstring_new(),25 # ),/)])'
+ cmd = 'command(w,[regexp_literal(regexp_add(regexp_new(),25 # ),/)])'
div = 'binary(ref(w),/,25)'
var = '[w]'
bug1939 = '[ruby-core:24923]'