summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)