diff options
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 |