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

add a test for [ruby-dev:34002].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-03-06 06:21:07 +00:00
parent 16d0ad4899
commit 7a62e3ea59

View file

@ -145,6 +145,7 @@ class TestSprintf < Test::Unit::TestCase
sprintf("%x", -2**32), '[ruby-dev:32351]')
assert_equal("..101111111111111111111111111111111",
sprintf("%b", -2147483649), '[ruby-dev:32365]')
assert_equal(" Inf", sprintf("% e", inf), '[ruby-dev:34002]')
end
def test_invalid