From bb945c3722383747a02214bc0a64c47af8e68a31 Mon Sep 17 00:00:00 2001 From: akr Date: Wed, 27 Mar 2013 03:08:25 +0000 Subject: [PATCH] * test/-ext-/num2int/test_num2int.rb (test_num2ll): test LLONG_MIN, not LONG_MIN. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ test/-ext-/num2int/test_num2int.rb | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b81aa1d825..42fef016fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Mar 27 12:07:40 2013 Tanaka Akira + + * test/-ext-/num2int/test_num2int.rb (test_num2ll): test LLONG_MIN, + not LONG_MIN. + Wed Mar 27 12:02:45 2013 Tanaka Akira * internal.h (TIMET_MAX_PLUS_ONE): definition simplified. diff --git a/test/-ext-/num2int/test_num2int.rb b/test/-ext-/num2int/test_num2int.rb index b69f29a516..44fe403ece 100644 --- a/test/-ext-/num2int/test_num2int.rb +++ b/test/-ext-/num2int/test_num2int.rb @@ -164,8 +164,8 @@ class TestNum2int < Test::Unit::TestCase 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)