summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-03-03 20:54:31 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-03-03 20:54:31 +0900
commit501f2c44e6ae79c02a5c4d0f872fc7fa77258fcf (patch)
tree51c8e51ef23f46315a229e2474024829ee501107 /test/ruby
parenta8c5b9a2fd28a7245a3ac5b01d09792a37069f74 (diff)
Suppress an "assigned but unused variable" warning
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_pattern_matching.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_pattern_matching.rb b/test/ruby/test_pattern_matching.rb
index 3c4314bbe4..2afa823d53 100644
--- a/test/ruby/test_pattern_matching.rb
+++ b/test/ruby/test_pattern_matching.rb
@@ -1061,6 +1061,7 @@ END
2}
false
in a: {b:}, c:
+ _b = b
p c
in {a:
}