From aeda3a7f036aa7c768abffd1965972c658f49c22 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Mon, 2 Mar 2020 22:37:04 +0900 Subject: [PATCH] Suppress "assigned but unused variable" warnings (cherry picked from commit 65dd50fc25f6522536d5c4749055384bde1f9371) --- test/ruby/test_pattern_matching.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/ruby/test_pattern_matching.rb b/test/ruby/test_pattern_matching.rb index f9217aa7da..3eea523416 100644 --- a/test/ruby/test_pattern_matching.rb +++ b/test/ruby/test_pattern_matching.rb @@ -1047,6 +1047,7 @@ END in {a: 1,} false in {a:,} + _a = a true end end @@ -1061,6 +1062,7 @@ END false in {a: } + _a = a true end end