summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-18 09:18:45 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-18 09:18:45 +0000
commit3aae5bef4db3bd63a48b32bb21f472320795e7a0 (patch)
tree467b1559354757a7a057ebca4caf4ec4f8e4bff4 /test
parenta15fda82670fe0e1741288b0bf75679a7e56fb4c (diff)
* 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
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_float.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/ruby/test_float.rb b/test/ruby/test_float.rb
index c2e5041..d559ce5 100644
--- a/test/ruby/test_float.rb
+++ b/test/ruby/test_float.rb
@@ -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("+")}