summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorShugo Maeda <shugo@ruby-lang.org>2019-06-21 18:02:24 +0900
committerShugo Maeda <shugo@ruby-lang.org>2019-06-21 18:02:24 +0900
commit38ccb8f74753c6c3d3e47ab612691bd01148eb90 (patch)
tree2035c5c6b25855c6b3a0213cb9ea2a167a2106cf /test
parent16729f64306941a2662c8361d452e86998fc1239 (diff)
Remove a duplicate test
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_lazy_enumerator.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/ruby/test_lazy_enumerator.rb b/test/ruby/test_lazy_enumerator.rb
index 679e0291b1..e76a53e650 100644
--- a/test/ruby/test_lazy_enumerator.rb
+++ b/test/ruby/test_lazy_enumerator.rb
@@ -116,14 +116,6 @@ class TestLazyEnumerator < Test::Unit::TestCase
assert_equal(expected, a.lazy.map {|*args| args}.map {|*args| args}.to_a, bug)
end
- def test_filter_map
- a = Step.new(1..3)
- assert_equal(2, a.filter_map {|x| x.odd? && x * 2}.first)
- assert_equal(3, a.current)
- assert_equal(2, a.lazy.filter_map {|x| x.odd? && x * 2}.first)
- assert_equal(1, a.current)
- end
-
def test_flat_map
a = Step.new(1..3)
assert_equal(2, a.flat_map {|x| [x * 2]}.first)