From 3ea2a407130332892083ce053d54b5ea3bc0ce0c Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 23 Apr 2021 10:35:29 +0900 Subject: [PATCH] Suppress warnings for unsued variable --- test/ruby/test_array.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb index 4a9863cc54..fb50f581fe 100644 --- a/test/ruby/test_array.rb +++ b/test/ruby/test_array.rb @@ -2741,9 +2741,9 @@ class TestArray < Test::Unit::TestCase step = 0.step e = Enumerator.produce { step.next } a = %w(a b c) - assert_equal([["a", 0], ["b", 1], ["c", 2]], a.zip(e)) - assert_equal([["a", 3], ["b", 4], ["c", 5]], a.zip(e)) - assert_equal([["a", 6], ["b", 7], ["c", 8]], a.zip(e)) + assert_equal([["a", 0], ["b", 1], ["c", 2]], a.zip(e), bug17814) + assert_equal([["a", 3], ["b", 4], ["c", 5]], a.zip(e), bug17814) + assert_equal([["a", 6], ["b", 7], ["c", 8]], a.zip(e), bug17814) end def test_transpose