diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-05 11:28:27 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-05 11:28:27 +0000 |
commit | 8dfb9869b6ed065dfbdc45ea0e5a5f305facbfc0 (patch) | |
tree | f76634ece5171d4b04d427a6a19a1d2d92ef47d8 /test/ruby/test_clone.rb | |
parent | 02b0891d4e3c26c9a64e647e3becf125c517bc7a (diff) | |
download | ruby-8dfb9869b6ed065dfbdc45ea0e5a5f305facbfc0.tar.gz ruby-8dfb9869b6ed065dfbdc45ea0e5a5f305facbfc0.tar.xz ruby-8dfb9869b6ed065dfbdc45ea0e5a5f305facbfc0.zip |
* test/ruby/test_*.rb: replace 'assert(a == b)' with assert_equal(a, b)'
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_clone.rb')
-rw-r--r-- | test/ruby/test_clone.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ruby/test_clone.rb b/test/ruby/test_clone.rb index ad146709a..64dba41c2 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 |