* test/ruby: fixed nonsense assertions.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-04-29 05:33:43 +00:00
parent 4c205de3e6
commit e1cc514073
8 changed files with 12 additions and 10 deletions

View file

@ -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