From e53e5edab2dd2e38d50577e6b6c5fba0dadd064a Mon Sep 17 00:00:00 2001 From: akr Date: Wed, 24 Feb 2010 15:32:06 +0000 Subject: * pack.c (pack_unpack): don't use OFF32 for gcc 4.5. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_pack.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_pack.rb') diff --git a/test/ruby/test_pack.rb b/test/ruby/test_pack.rb index 7cc3f0089e..518708c99d 100644 --- a/test/ruby/test_pack.rb +++ b/test/ruby/test_pack.rb @@ -493,7 +493,7 @@ class TestPack < Test::Unit::TestCase end def test_short_string - %w[n N v V s S l L q Q].each {|fmt| + %w[n N v V s S i I l L q Q s! S! i! I! l! l!].each {|fmt| str = [1].pack(fmt) assert_equal([1,nil], str.unpack("#{fmt}2")) } -- cgit v1.2.3