[macruby-changes] [1479] MacRuby/branches/experimental/spec/macruby/struct_spec.rb
source_changes at macosforge.org
source_changes at macosforge.org
Thu Apr 23 16:30:07 PDT 2009
Revision: 1479
http://trac.macosforge.org/projects/ruby/changeset/1479
Author: lsansonetti at apple.com
Date: 2009-04-23 16:30:07 -0700 (Thu, 23 Apr 2009)
Log Message:
-----------
a few more tests on #==
Modified Paths:
--------------
MacRuby/branches/experimental/spec/macruby/struct_spec.rb
Modified: MacRuby/branches/experimental/spec/macruby/struct_spec.rb
===================================================================
--- MacRuby/branches/experimental/spec/macruby/struct_spec.rb 2009-04-23 23:20:16 UTC (rev 1478)
+++ MacRuby/branches/experimental/spec/macruby/struct_spec.rb 2009-04-23 23:30:07 UTC (rev 1479)
@@ -137,5 +137,11 @@
r2.size.height = 4
r1.should == r2
+
+ NSPoint.new.should_not == nil
+ NSPoint.new.should_not == 123
+ NSPoint.new.should_not == [0, 0]
+ NSPoint.new.should_not == [0.0, 0.0]
+ NSPoint.new.should_not == NSSize.new
end
end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090423/1f774f08/attachment.html>
More information about the macruby-changes
mailing list