ruby-changes:28033
From: akr <ko1@a...>
Date: Wed, 3 Apr 2013 21:37:06 +0900 (JST)
Subject: [ruby-changes:28033] akr:r40085 (trunk): Add comment.
akr 2013-04-03 21:36:57 +0900 (Wed, 03 Apr 2013) New Revision: 40085 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40085 Log: Add comment. Modified files: trunk/test/ruby/test_pack.rb Index: test/ruby/test_pack.rb =================================================================== --- test/ruby/test_pack.rb (revision 40084) +++ test/ruby/test_pack.rb (revision 40085) @@ -403,6 +403,7 @@ class TestPack < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_pack.rb#L403 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!*")) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/