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

Fix wrong test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2010-10-18 01:53:41 +00:00
parent b1361d5be1
commit 35388369dc

View file

@ -210,7 +210,7 @@ class TestSprintf < Test::Unit::TestCase
assert_equal(" -0x1.4p+0", sprintf("%10a", -1.25)) assert_equal(" -0x1.4p+0", sprintf("%10a", -1.25))
assert_equal(" -0x1.2p+0", sprintf("%10a", -1.125)) assert_equal(" -0x1.2p+0", sprintf("%10a", -1.125))
assert_equal(" -0x1.1p+0", sprintf("%10a", -1.0625)) assert_equal(" -0x1.1p+0", sprintf("%10a", -1.0625))
assert_equal("-0x1.05p+0", sprintf("%10a", -1.03125)) assert_equal("-0x1.08p+0", sprintf("%10a", -1.03125))
end end
BSIZ = 120 BSIZ = 120