summaryrefslogtreecommitdiff
path: root/test/-ext-/num2int
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 /test/-ext-/num2int
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
Diffstat (limited to 'test/-ext-/num2int')
-rw-r--r--test/-ext-/num2int/test_num2int.rb4
1 files changed, 2 insertions, 2 deletions
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)