Skip to content

Commit 3ea2a40

Browse files
committed
Suppress warnings for unsued variable
1 parent e628058 commit 3ea2a40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/ruby/test_array.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2741,9 +2741,9 @@ def test_zip_with_enumerator
27412741
step = 0.step
27422742
e = Enumerator.produce { step.next }
27432743
a = %w(a b c)
2744-
assert_equal([["a", 0], ["b", 1], ["c", 2]], a.zip(e))
2745-
assert_equal([["a", 3], ["b", 4], ["c", 5]], a.zip(e))
2746-
assert_equal([["a", 6], ["b", 7], ["c", 8]], a.zip(e))
2744+
assert_equal([["a", 0], ["b", 1], ["c", 2]], a.zip(e), bug17814)
2745+
assert_equal([["a", 3], ["b", 4], ["c", 5]], a.zip(e), bug17814)
2746+
assert_equal([["a", 6], ["b", 7], ["c", 8]], a.zip(e), bug17814)
27472747
end
27482748

27492749
def test_transpose

0 commit comments

Comments
 (0)