diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-06 17:27:58 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-06 17:27:58 +0000 |
commit | a7357c196559f3181e359662d92cb06d7b18e3cb (patch) | |
tree | 449e30f756b8267489357d3241fbf517c01d4f6c /test/ruby/test_hash.rb | |
parent | d7c5b0518a91b9e636f441c9488d749c435e2247 (diff) |
* test/ruby/test_*.rb: assert_same, assert_match, and so on.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_hash.rb')
-rw-r--r-- | test/ruby/test_hash.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb index 22c694ef1f..e21c464de3 100644 --- a/test/ruby/test_hash.rb +++ b/test/ruby/test_hash.rb @@ -45,11 +45,11 @@ class TestHash < Test::Unit::TestCase $x = Hash.new([]) assert_equal([], $x[22]) - assert($x[22].equal?($x[22])) + assert_same($x[22], $x[22]) $x = Hash.new{[]} assert_equal([], $x[22]) - assert(!$x[22].equal?($x[22])) + assert_not_same($x[22], $x[22]) $x = Hash.new{|h,k| $z = k; h[k] = k*2} $z = 0 |