ruby-changes:28092
From: akr <ko1@a...>
Date: Sat, 6 Apr 2013 09:10:31 +0900 (JST)
Subject: [ruby-changes:28092] akr:r40144 (trunk): add a comment.
akr 2013-04-06 09:10:22 +0900 (Sat, 06 Apr 2013) New Revision: 40144 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40144 Log: add a comment. Modified files: trunk/test/ruby/test_pack.rb Index: test/ruby/test_pack.rb =================================================================== --- test/ruby/test_pack.rb (revision 40143) +++ test/ruby/test_pack.rb (revision 40144) @@ -404,6 +404,7 @@ class TestPack < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_pack.rb#L404 assert_equal([578437695752307201, 17940646550795321087], s1.unpack("Q*")) # Note: q! and Q! should not work on platform which has no long long type. + # Is there a such platform now? 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/