diff options
Diffstat (limited to 'test/ruby/test_pack.rb')
-rw-r--r-- | test/ruby/test_pack.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_pack.rb b/test/ruby/test_pack.rb index 4132c89a61..c7097af423 100644 --- a/test/ruby/test_pack.rb +++ b/test/ruby/test_pack.rb @@ -13,7 +13,7 @@ class TestPack < Test::Unit::TestCase assert_equal(ary.length, ary2.length) assert_equal(ary.join(':'), ary2.join(':')) - assert($x =~ /def/) + assert_match(/def/, $x) $x = [-1073741825] assert_equal($x, $x.pack("q").unpack("q")) |