diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-24 15:32:06 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-24 15:32:06 +0000 |
commit | e53e5edab2dd2e38d50577e6b6c5fba0dadd064a (patch) | |
tree | 509b36be3dac1d3e65ebb62baab9d4c6895b40c5 /test/ruby/test_pack.rb | |
parent | 7e5f20c842486e1f3c99efaa6d49ed5559573b46 (diff) | |
download | ruby-e53e5edab2dd2e38d50577e6b6c5fba0dadd064a.tar.gz |
* 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
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 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")) } |