diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2020-03-02 22:37:04 +0900 |
---|---|---|
committer | NARUSE, Yui <naruse@airemix.jp> | 2020-03-27 14:57:47 +0900 |
commit | aeda3a7f036aa7c768abffd1965972c658f49c22 (patch) | |
tree | c9f067856e1fa0ed0d54cda78f346b95a7971d73 | |
parent | 004c298738dc0924e7483b0c3f41c798dabe9e5b (diff) |
Suppress "assigned but unused variable" warnings
(cherry picked from commit 65dd50fc25f6522536d5c4749055384bde1f9371)
-rw-r--r-- | test/ruby/test_pattern_matching.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |