From 65264eadbd3a8e1a3a96024e559a4a72d97c71e4 Mon Sep 17 00:00:00 2001 From: nahi Date: Fri, 5 Sep 2003 11:28:27 +0000 Subject: * 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 --- test/ruby/test_pack.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/ruby/test_pack.rb') diff --git a/test/ruby/test_pack.rb b/test/ruby/test_pack.rb index 15b774f6ca..4bb17993f5 100644 --- a/test/ruby/test_pack.rb +++ b/test/ruby/test_pack.rb @@ -11,11 +11,11 @@ class TestPack < Test::Unit::TestCase $x = ary.pack($format) ary2 = $x.unpack($format) - assert(ary.length == ary2.length) - assert(ary.join(':') == ary2.join(':')) + assert_equal(ary.length, ary2.length) + assert_equal(ary.join(':'), ary2.join(':')) assert($x =~ /def/) $x = [-1073741825] - assert($x.pack("q").unpack("q") == $x) + assert_equal($x.pack("q").unpack("q"), $x) end end -- cgit v1.2.3