aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_clone.rb
diff options
context:
space:
mode:
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