[前][次][番号順一覧][スレッド一覧]

ruby-changes:56263

From: Nobuyoshi <ko1@a...>
Date: Fri, 28 Jun 2019 17:23:32 +0900 (JST)
Subject: [ruby-changes:56263] Nobuyoshi Nakada: 8d04f90da4 (trunk): Fixed a variable name

https://git.ruby-lang.org/ruby.git/commit/?id=8d04f90da4

From 8d04f90da486a34f54589c2835518b1d720a4253 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 28 Jun 2019 17:07:17 +0900
Subject: Fixed a variable name


diff --git a/test/ripper/test_parser_events.rb b/test/ripper/test_parser_events.rb
index cc3e208..97bea54 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 https://github.com/ruby/ruby/blob/trunk/test/ripper/test_parser_events.rb#L537
     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)],")
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]