We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 408e230 + 8fd23da commit f23d158Copy full SHA for f23d158
core/enumerator/product/size_spec.rb
@@ -23,14 +23,6 @@ def enum.size; Float::INFINITY; end
23
product.size.should == Float::INFINITY
24
end
25
26
- it "returns -Float::INFINITY if any enumerable reports its size as -Float::INFINITY" do
27
- enum = Object.new
28
- def enum.size; -Float::INFINITY; end
29
-
30
- product = Enumerator::Product.new(1..2, enum)
31
- product.size.should == -Float::INFINITY
32
- end
33
34
it "returns nil if any enumerable reports its size as Float::NAN" do
35
enum = Object.new
36
def enum.size; Float::NAN; end
0 commit comments