Commit f86e4a5d authored by KOBAYASHI Shuji's avatar KOBAYASHI Shuji

Use `assert_same` instead of `assert_equal` in `Enumerable#reverse_each` test

parent 9215c854
......@@ -135,7 +135,7 @@ end
assert("Enumerable#reverse_each") do
r = (1..3)
a = []
assert_equal (1..3), r.reverse_each { |v| a << v }
assert_same r, r.reverse_each { |v| a << v }
assert_equal [3, 2, 1], a
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment