aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_jit.rb
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-24 11:54:15 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-24 11:54:15 +0000
commita67f47c4cc9645b96b0adab79231c057b6d7bdc6 (patch)
tree048f554b7663d8aa6f2ffeb79c4721a80c096599 /test/ruby/test_jit.rb
parent004f55212d702e984da0808108c4f3f98f8cb0f5 (diff)
downloadruby-a67f47c4cc9645b96b0adab79231c057b6d7bdc6.tar.gz
test_jit.rb: suppress unused variable warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_jit.rb')
-rw-r--r--test/ruby/test_jit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb
index 359afe48b4..b20ae881b8 100644
--- a/test/ruby/test_jit.rb
+++ b/test/ruby/test_jit.rb
@@ -679,7 +679,7 @@ class TestJIT < Test::Unit::TestCase
assert_eval_with_jit("#{<<~"begin;"}\n#{<<~"end;"}", stdout: "nil\nnil\n", success_count: 1)
begin;
2.times do
- a, b = nil
+ a, _ = nil
p a
end
end;