[macruby-changes] [129] MacRuby/trunk/test/ruby/test_hash.rb
source_changes at macosforge.org
source_changes at macosforge.org
Tue Apr 1 17:47:11 PDT 2008
Revision: 129
http://trac.macosforge.org/projects/ruby/changeset/129
Author: lsansonetti at apple.com
Date: 2008-04-01 17:47:10 -0700 (Tue, 01 Apr 2008)
Log Message:
-----------
hashes are not direct instance of Hash anymore
Modified Paths:
--------------
MacRuby/trunk/test/ruby/test_hash.rb
Modified: MacRuby/trunk/test/ruby/test_hash.rb
===================================================================
--- MacRuby/trunk/test/ruby/test_hash.rb 2008-04-02 00:16:16 UTC (rev 128)
+++ MacRuby/trunk/test/ruby/test_hash.rb 2008-04-02 00:47:10 UTC (rev 129)
@@ -105,12 +105,12 @@
def test_s_new
h = @cls.new
- assert_instance_of(@cls, h)
+ assert_kind_of(@cls, h)
assert_nil(h.default)
assert_nil(h['spurious'])
h = @cls.new('default')
- assert_instance_of(@cls, h)
+ assert_kind_of(@cls, h)
assert_equal('default', h.default)
assert_equal('default', h['spurious'])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080401/8ef01746/attachment-0001.html
More information about the macruby-changes
mailing list