[macruby-changes] [1956] MacRuby/branches/experimental/spec/frozen/core/bignum/ comparison_spec.rb

source_changes at macosforge.org source_changes at macosforge.org
Wed Jul 1 16:05:28 PDT 2009


Revision: 1956
          http://trac.macosforge.org/projects/ruby/changeset/1956
Author:   pthomson at 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 <=> - at 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 <=> - at inf).should == 1
     end
   end
 end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090701/2a23c031/attachment.html>


More information about the macruby-changes mailing list