[macruby-changes] [3750] MacRuby/trunk/spec/macruby/core/struct_spec.rb
source_changes at macosforge.org
source_changes at macosforge.org
Fri Mar 12 19:14:41 PST 2010
Revision: 3750
http://trac.macosforge.org/projects/ruby/changeset/3750
Author: lsansonetti at 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:
--------------
MacRuby/trunk/spec/macruby/core/struct_spec.rb
Modified: MacRuby/trunk/spec/macruby/core/struct_spec.rb
===================================================================
--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100312/359f58e8/attachment-0001.html>
More information about the macruby-changes
mailing list