diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-06 06:21:07 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-06 06:21:07 +0000 |
commit | 7a62e3ea5996c1c33e017692f73caa70ace0b870 (patch) | |
tree | 851a77ab183c76e402003b4798e637d46107ed39 | |
parent | 16d0ad48996eaf76b240cff2d8af02defe29e327 (diff) | |
download | ruby-7a62e3ea5996c1c33e017692f73caa70ace0b870.tar.gz |
add a test for [ruby-dev:34002].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/ruby/test_sprintf.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_sprintf.rb b/test/ruby/test_sprintf.rb index 1746ae0a8e..23036d8d0f 100644 --- a/test/ruby/test_sprintf.rb +++ b/test/ruby/test_sprintf.rb @@ -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 |