1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Suppress warnings for unsued variable

This commit is contained in:
Hiroshi SHIBATA 2021-04-23 10:35:29 +09:00
parent e628058c1a
commit 3ea2a40713
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -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