[3750] MacRuby/trunk/spec/macruby/core/struct_spec.rb
Revision: 3750 http://trac.macosforge.org/projects/ruby/changeset/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: -------------- 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
participants (1)
-
source_changes@macosforge.org