From 8d04f90da486a34f54589c2835518b1d720a4253 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 28 Jun 2019 17:07:17 +0900 Subject: [PATCH] Fixed a variable name --- test/ripper/test_parser_events.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)],")