summaryrefslogtreecommitdiff
path: root/test/ripper/test_parser_events.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-16 21:01:45 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-16 21:08:33 +0900
commit47328ad217ecaf240f0faedac89723dcd6a917ac (patch)
tree190a3f20f9bba05cfbcb9c30f134b3c56c4460c5 /test/ripper/test_parser_events.rb
parent359ad4423ed0f314822a3b97831fe9e4272ea347 (diff)
Ripper: Fixed erred token on wrong alias [Bug #17345]
Diffstat (limited to 'test/ripper/test_parser_events.rb')
-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 771434ff82..014403a784 100644
--- a/test/ripper/test_parser_events.rb
+++ b/test/ripper/test_parser_events.rb
@@ -96,7 +96,7 @@ class TestRipper::ParserEvents < Test::Unit::TestCase
end
def test_alias_error
- assert_equal '[aliaserr(valias($a,$1))]', parse('alias $a $1')
+ assert_equal '[aliaserr($1)]', parse('alias $a $1')
end
def test_arglist