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 | 65264eadbd3a8e1a3a96024e559a4a72d97c71e4 (patch) | |
tree | f76634ece5171d4b04d427a6a19a1d2d92ef47d8 /test/ruby/test_call.rb | |
parent | d9f38cbee88fdbb06d8577496062918da39fdeab (diff) |
* 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_call.rb')
-rw-r--r-- | test/ruby/test_call.rb | 8 |
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 |