summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-09-13 10:24:55 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-09-13 10:24:55 +0900
commit435b243978995237f7d4c386bb312d8cdae8b50b (patch)
treeef4663910e5dd6c8a113c5625c48cee14993e0b5 /test
parentc421f08f6b5c1cc9a52e713a81595a393ff66e8c (diff)
Suppress an unused variable warning
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_iseq.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_iseq.rb b/test/ruby/test_iseq.rb
index 0af29d9f32..80fe9b0f06 100644
--- a/test/ruby/test_iseq.rb
+++ b/test/ruby/test_iseq.rb
@@ -777,7 +777,7 @@ class TestISeq < Test::Unit::TestCase
if true or {a: 0} in {a:}
p 1
else
- p 0
+ p a
end
end;
end