summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-27 03:08:25 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-27 03:08:25 +0000
commitbb945c3722383747a02214bc0a64c47af8e68a31 (patch)
treeda8e8991cf03fef02761b59fd08fce43d41f7528
parentb4d05fb0cce58a806ff0425f8353368e9f9eb471 (diff)
* 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
-rw-r--r--ChangeLog5
-rw-r--r--test/-ext-/num2int/test_num2int.rb4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b81aa1d..42fef01 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Mar 27 12:07:40 2013 Tanaka Akira <akr@fsij.org>
+
+ * test/-ext-/num2int/test_num2int.rb (test_num2ll): test LLONG_MIN,
+ not LONG_MIN.
+
Wed Mar 27 12:02:45 2013 Tanaka Akira <akr@fsij.org>
* 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 b69f29a..44fe403 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)