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

* test/ruby/test_float.rb (TestFloat::test_strtod): update test to

conform strtod change.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2006-07-18 09:18:45 +00:00
parent a15fda8267
commit 3aae5bef4d
2 changed files with 5 additions and 5 deletions

View file

@ -73,11 +73,6 @@ class TestFloat < Test::Unit::TestCase
assert(a.abs < Float::EPSILON)
a = Float("-.0")
assert(a.abs < Float::EPSILON)
a = Float("0.")
assert(a.abs < Float::EPSILON)
a = Float("+0.")
assert(a.abs < Float::EPSILON)
a = Float("-0.")
assert(a.abs < Float::EPSILON)
assert_raise(ArgumentError){Float(".")}
assert_raise(ArgumentError){Float("+")}