Revision: 3460 http://trac.macosforge.org/projects/ruby/changeset/3460 Author: lsansonetti@apple.com Date: 2010-02-08 18:06:07 -0800 (Mon, 08 Feb 2010) Log Message: ----------- refresh the nsstring specs Modified Paths: -------------- MacRuby/trunk/spec/macruby/core/constant_spec.rb MacRuby/trunk/spec/macruby/tags/macruby/core/string_tags.txt Modified: MacRuby/trunk/spec/macruby/core/constant_spec.rb =================================================================== --- MacRuby/trunk/spec/macruby/core/constant_spec.rb 2010-02-09 01:08:20 UTC (rev 3459) +++ MacRuby/trunk/spec/macruby/core/constant_spec.rb 2010-02-09 02:06:07 UTC (rev 3460) @@ -3,7 +3,7 @@ describe "A BridgeSupport constant" do it "of type 'id' is available as an Object in Ruby" do - ConstantObject.class.should == NSString + ConstantObject.is_a?(String).should == true ConstantObject.should == 'foo' end Modified: MacRuby/trunk/spec/macruby/tags/macruby/core/string_tags.txt =================================================================== --- MacRuby/trunk/spec/macruby/tags/macruby/core/string_tags.txt 2010-02-09 01:08:20 UTC (rev 3459) +++ MacRuby/trunk/spec/macruby/tags/macruby/core/string_tags.txt 2010-02-09 02:06:07 UTC (rev 3460) @@ -1,3 +1,5 @@ critical:The NSString class can be subclassed and later instantiated critical:An NSString object can have a singleton class +critical:An NSString object is immutable +fails:An NSString object is an instance of the NSString class fails:A String object can match() a Regex
participants (1)
-
source_changes@macosforge.org