summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-03-02 13:37:04 (GMT)
committerYusuke Endoh <mame@ruby-lang.org>2020-03-02 13:37:04 (GMT)
commit65dd50fc25f6522536d5c4749055384bde1f9371 (patch)
tree88f70dbc2bbef404dda0e01ebcd42fa01cbe4932
parent85620ffaa634e0a0a8467c5b159819a736b69fad (diff)
Suppress "assigned but unused variable" warnings
-rw-r--r--test/ruby/test_pattern_matching.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_pattern_matching.rb b/test/ruby/test_pattern_matching.rb
index f9217aa..3eea523 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