Commit b5bb9819 authored by KOBAYASHI Shuji's avatar KOBAYASHI Shuji

Remove test that depend on `mruby-enumerator` from `mruby-array-ext`

`Object.const_defined?(:Enumerator)` is always false because
`mruby-enumerator` is not specified in `test_dependency`. I don't
think this test is necessary.
parent 2166cc2e
...@@ -195,12 +195,6 @@ assert("Array#reverse_each") do ...@@ -195,12 +195,6 @@ assert("Array#reverse_each") do
b << i b << i
end end
assert_equal [ "d", "c", "b", "a" ], b assert_equal [ "d", "c", "b", "a" ], b
if Object.const_defined?(:Enumerator)
assert_equal [ "d", "c", "b", "a" ], a.reverse_each.to_a
else
true
end
end end
assert("Array#rotate") do assert("Array#rotate") do
......
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