From 65264eadbd3a8e1a3a96024e559a4a72d97c71e4 Mon Sep 17 00:00:00 2001 From: nahi Date: Fri, 5 Sep 2003 11:28:27 +0000 Subject: * test/ruby/test_*.rb: replace 'assert(a == b)' with assert_equal(a, b)' git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_clone.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/ruby/test_clone.rb') diff --git a/test/ruby/test_clone.rb b/test/ruby/test_clone.rb index ad146709ad..64dba41c21 100644 --- a/test/ruby/test_clone.rb +++ b/test/ruby/test_clone.rb @@ -19,9 +19,9 @@ class TestClone < Test::Unit::TestCase "test2" end - assert(bar.test2 == "test2") - assert(bar.test == "test") - assert(foo.test == "test") + assert_equal(bar.test2, "test2") + assert_equal(bar.test, "test") + assert_equal(foo.test, "test") begin foo.test2 @@ -30,6 +30,6 @@ class TestClone < Test::Unit::TestCase assert true end - assert(M003.ancestors == [M003, M002, M001]) + assert_equal(M003.ancestors, [M003, M002, M001]) end end -- cgit v1.2.3