ruby-changes:27911
From: akr <ko1@a...>
Date: Wed, 27 Mar 2013 12:08:36 +0900 (JST)
Subject: [ruby-changes:27911] akr:r39963 (trunk): * test/-ext-/num2int/test_num2int.rb (test_num2ll): test LLONG_MIN,
akr 2013-03-27 12:08:25 +0900 (Wed, 27 Mar 2013) New Revision: 39963 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39963 Log: * test/-ext-/num2int/test_num2int.rb (test_num2ll): test LLONG_MIN, not LONG_MIN. Modified files: trunk/ChangeLog trunk/test/-ext-/num2int/test_num2int.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 39962) +++ ChangeLog (revision 39963) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Mar 27 12:07:40 2013 Tanaka Akira <akr@f...> + + * test/-ext-/num2int/test_num2int.rb (test_num2ll): test LLONG_MIN, + not LONG_MIN. + Wed Mar 27 12:02:45 2013 Tanaka Akira <akr@f...> * internal.h (TIMET_MAX_PLUS_ONE): definition simplified. Index: test/-ext-/num2int/test_num2int.rb =================================================================== --- test/-ext-/num2int/test_num2int.rb (revision 39962) +++ test/-ext-/num2int/test_num2int.rb (revision 39963) @@ -164,8 +164,8 @@ class TestNum2int < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/-ext-/num2int/test_num2int.rb#L164 end def test_num2ll - assert_output(LONG_MIN.to_s) do - Num2int.print_num2ll(LONG_MIN) + assert_output(LLONG_MIN.to_s) do + Num2int.print_num2ll(LLONG_MIN) end assert_output(LLONG_MAX.to_s) do Num2int.print_num2ll(LLONG_MAX) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/