diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-29 05:33:43 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-29 05:33:43 +0000 |
commit | e1cc51407329230aab32088ed67f78b0c5c23e8b (patch) | |
tree | 8bafa7bb2284a03c51b61884e930268507ef0e07 /test/ruby/test_array.rb | |
parent | 4c205de3e6fa7da642820fe069734e6321397423 (diff) | |
download | ruby-e1cc51407329230aab32088ed67f78b0c5c23e8b.tar.gz |
* test/ruby: fixed nonsense assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_array.rb')
-rw-r--r-- | test/ruby/test_array.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb index ec1f0fdbb9..fedcec71fc 100644 --- a/test/ruby/test_array.rb +++ b/test/ruby/test_array.rb @@ -1837,8 +1837,8 @@ class TestArray < Test::Unit::TestCase o = Object.new def o.to_ary; end def o.==(x); :foo; end - assert(:foo, [0, 1, 2] == o) - assert([0, 1, 2] != [0, 1, 3]) + assert_equal([0, 1, 2], o) + assert_not_equal([0, 1, 2], [0, 1, 3]) end def test_hash2 |