Revision: 1479 http://trac.macosforge.org/projects/ruby/changeset/1479 Author: lsansonetti@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
participants (1)
-
source_changes@macosforge.org