aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_clone.rb
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-05 11:28:27 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-05 11:28:27 +0000
commit65264eadbd3a8e1a3a96024e559a4a72d97c71e4 (patch)
treef76634ece5171d4b04d427a6a19a1d2d92ef47d8 /test/ruby/test_clone.rb
parentd9f38cbee88fdbb06d8577496062918da39fdeab (diff)
downloadruby-65264eadbd3a8e1a3a96024e559a4a72d97c71e4.tar.gz
* 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
Diffstat (limited to 'test/ruby/test_clone.rb')
-rw-r--r--test/ruby/test_clone.rb8
1 files changed, 4 insertions, 4 deletions
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