1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
akr 2013-03-27 03:08:25 +00:00
parent b4d05fb0cc
commit bb945c3722
2 changed files with 7 additions and 2 deletions

View file

@ -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> Wed Mar 27 12:02:45 2013 Tanaka Akira <akr@fsij.org>
* internal.h (TIMET_MAX_PLUS_ONE): definition simplified. * internal.h (TIMET_MAX_PLUS_ONE): definition simplified.

View file

@ -164,8 +164,8 @@ class TestNum2int < Test::Unit::TestCase
end end
def test_num2ll def test_num2ll
assert_output(LONG_MIN.to_s) do assert_output(LLONG_MIN.to_s) do
Num2int.print_num2ll(LONG_MIN) Num2int.print_num2ll(LLONG_MIN)
end end
assert_output(LLONG_MAX.to_s) do assert_output(LLONG_MAX.to_s) do
Num2int.print_num2ll(LLONG_MAX) Num2int.print_num2ll(LLONG_MAX)