summaryrefslogtreecommitdiff
path: root/test/ruby/test_pack.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-24 15:32:06 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-24 15:32:06 +0000
commite53e5edab2dd2e38d50577e6b6c5fba0dadd064a (patch)
tree509b36be3dac1d3e65ebb62baab9d4c6895b40c5 /test/ruby/test_pack.rb
parent7e5f20c842486e1f3c99efaa6d49ed5559573b46 (diff)
* 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.rb2
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"))
}