diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-03 12:36:57 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-03 12:36:57 +0000 |
commit | 694207c73745eddae910c4239fe76b654c980eff (patch) | |
tree | a726eb02286205c9437468f955a272fa87e98cfd /test/ruby/test_pack.rb | |
parent | b81ea661dbc3c31073de782a8b0b9f3f86e3de5e (diff) | |
download | ruby-694207c73745eddae910c4239fe76b654c980eff.tar.gz |
Add comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_pack.rb')
-rw-r--r-- | test/ruby/test_pack.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_pack.rb b/test/ruby/test_pack.rb index a088953b78..9a83293fec 100644 --- a/test/ruby/test_pack.rb +++ b/test/ruby/test_pack.rb @@ -403,6 +403,7 @@ class TestPack < Test::Unit::TestCase assert_equal([578437695752307201, -506097522914230529], s2.unpack("q*")) assert_equal([578437695752307201, 17940646550795321087], s1.unpack("Q*")) + # Note: q! and Q! should not work on platform which has no long long type. s1 = [578437695752307201, -506097522914230529].pack("q!*") s2 = [578437695752307201, 17940646550795321087].pack("Q!*") assert_equal([578437695752307201, -506097522914230529], s2.unpack("q!*")) |