Modified: MacRuby/trunk/spec/macruby/core/struct_spec.rb (3749 => 3750)
--- MacRuby/trunk/spec/macruby/core/struct_spec.rb 2010-03-13 02:09:56 UTC (rev 3749)
+++ MacRuby/trunk/spec/macruby/core/struct_spec.rb 2010-03-13 03:14:38 UTC (rev 3750)
@@ -143,15 +143,9 @@
NSPoint.new.should_not == NSSize.new
end
- if MACOSX_VERSION <= 10.6
- NSPOINT_CNAME = 'CGPoint'
- NSSIZE_CNAME = 'CGSize'
- NSRECT_CNAME = 'CGRect'
- else
- NSPOINT_CNAME = 'NSPoint'
- NSSIZE_CNAME = 'NSSize'
- NSRECT_CNAME = 'NSRect'
- end
+ NSPOINT_CNAME = 'CGPoint'
+ NSSIZE_CNAME = 'CGSize'
+ NSRECT_CNAME = 'CGRect'
it "has a nice #inspect message that lists the fields" do
p = NSPoint.new