mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 09:04:05 +02:00
* 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:
parent
4c205de3e6
commit
e1cc514073
8 changed files with 12 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue