aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_call.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_call.rb')
-rw-r--r--test/ruby/test_call.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ruby/test_call.rb b/test/ruby/test_call.rb
index f47164b438..c92b8b0ae9 100644
--- a/test/ruby/test_call.rb
+++ b/test/ruby/test_call.rb
@@ -24,9 +24,9 @@ class TestCall < Test::Unit::TestCase
assert(true)
end
- assert(aaa(1) == [1, 100])
- assert(aaa(1, 2) == [1, 2])
- assert(aaa(1, 2, 3, 4) == [1, 2, 3, 4])
- assert(aaa(1, *[2, 3, 4]) == [1, 2, 3, 4])
+ assert_equal(aaa(1), [1, 100])
+ assert_equal(aaa(1, 2), [1, 2])
+ assert_equal(aaa(1, 2, 3, 4), [1, 2, 3, 4])
+ assert_equal(aaa(1, *[2, 3, 4]), [1, 2, 3, 4])
end
end