Revision
3750
Author
lsansonetti@apple.com
Date
2010-03-12 19:14:38 -0800 (Fri, 12 Mar 2010)

Log Message

fix class names on the bleeding edge

Modified Paths

Diff

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