Modified: MacRuby/branches/experimental/spec/frozen/core/bignum/comparison_spec.rb (1955 => 1956)
--- MacRuby/branches/experimental/spec/frozen/core/bignum/comparison_spec.rb 2009-07-01 06:28:35 UTC (rev 1955)
+++ MacRuby/branches/experimental/spec/frozen/core/bignum/comparison_spec.rb 2009-07-01 23:05:28 UTC (rev 1956)
@@ -45,7 +45,7 @@
end
it "returns 1 when self is negative and other is -Infinity" do
- (-Float::MAX.to_i*2 <=> @inf).should == 1
+ (-Float::MAX.to_i*2 <=> -@inf).should == 1
end
end
@@ -65,7 +65,7 @@
end
it "returns 1 when self is negative and other is -Infinity" do
- (-Float::MAX.to_i*2 <=> @inf).should == 1
+ (-Float::MAX.to_i*2 <=> -@inf).should == 1
end
end
end