Revision: 1956 http://trac.macosforge.org/projects/ruby/changeset/1956 Author: pthomson@apple.com Date: 2009-07-01 16:05:28 -0700 (Wed, 01 Jul 2009) Log Message: ----------- Fixed a stupid typo I made in the comparison specs. Modified Paths: -------------- MacRuby/branches/experimental/spec/frozen/core/bignum/comparison_spec.rb Modified: MacRuby/branches/experimental/spec/frozen/core/bignum/comparison_spec.rb =================================================================== --- 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
participants (1)
-
source_changes@macosforge.org