diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-11-05 21:35:06 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-11-05 21:35:06 +0900 |
| commit | 1cc0180a81ef86d2ca4a42172904b5dd017eb4fc (patch) | |
| tree | adb2fa5c42bd4a58014b6b5c95d0dea9a6f572b1 /mrbgems/mruby-array-ext/test | |
| parent | ee86721ef9bdd87ef583ce33fcbdeb6345a7d5b8 (diff) | |
| parent | b5bb9819596f2cf30950d1634f022bba3d466fcc (diff) | |
| download | mruby-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/test')
| -rw-r--r-- | mrbgems/mruby-array-ext/test/array.rb | 6 |
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 |
