summaryrefslogtreecommitdiff
path: root/test/ripper
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-28 17:07:17 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-28 17:07:17 +0900
commit8d04f90da486a34f54589c2835518b1d720a4253 (patch)
tree49931db779a0a7598d10ae284a358fdf62b67fbe /test/ripper
parente9bce55c12f87d783c651d415b6b79beeeb79737 (diff)
Fixed a variable name
Diffstat (limited to 'test/ripper')
-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 cc3e208d41..97bea54853 100644
--- a/test/ripper/test_parser_events.rb
+++ b/test/ripper/test_parser_events.rb
@@ -537,7 +537,7 @@ class TestRipper::ParserEvents < Test::Unit::TestCase
tree = parse("a, *b = 1, 2", :on_mlhs_add_post) {thru_mlhs_add_post = true}
assert_equal false, thru_mlhs_add_post
assert_include(tree, "massign([var_field(a),*var_field(b)],")
- thru_massign_add_post = false
+ thru_mlhs_add_post = false
tree = parse("a, *b, c = 1, 2", :on_mlhs_add_post) {thru_mlhs_add_post = true}
assert_equal true, thru_mlhs_add_post
assert_include(tree, "massign([var_field(a),*var_field(b),var_field(c)],")