summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-array-ext
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-11-05 21:35:06 +0900
committerGitHub <[email protected]>2019-11-05 21:35:06 +0900
commit1cc0180a81ef86d2ca4a42172904b5dd017eb4fc (patch)
treeadb2fa5c42bd4a58014b6b5c95d0dea9a6f572b1 /mrbgems/mruby-array-ext
parentee86721ef9bdd87ef583ce33fcbdeb6345a7d5b8 (diff)
parentb5bb9819596f2cf30950d1634f022bba3d466fcc (diff)
downloadmruby-1cc0180a81ef86d2ca4a42172904b5dd017eb4fc.tar.gz
mruby-1cc0180a81ef86d2ca4a42172904b5dd017eb4fc.zip
Merge pull request #4805 from shuujii/remove-test-that-depend-on-mruby-enumerator-from-mruby-array-ext
Remove test that depend on `mruby-enumerator` from `mruby-array-ext`
Diffstat (limited to 'mrbgems/mruby-array-ext')
-rw-r--r--mrbgems/mruby-array-ext/test/array.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/mrbgems/mruby-array-ext/test/array.rb b/mrbgems/mruby-array-ext/test/array.rb
index cb76559c7..51172f9a8 100644
--- a/mrbgems/mruby-array-ext/test/array.rb
+++ b/mrbgems/mruby-array-ext/test/array.rb
@@ -195,12 +195,6 @@ assert("Array#reverse_each") do
b << i
end
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
assert("Array#rotate") do