Modified: MacRuby/branches/experimental/spec/macruby/struct_spec.rb (1478 => 1479)
--- 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