summaryrefslogtreecommitdiffstats
path: root/test/ruby/test_float.rb
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
commit08a3897f32b2c742ea6a69a49ad1cc4175df0862 (patch)
tree467b1559354757a7a057ebca4caf4ec4f8e4bff4 /test/ruby/test_float.rb
parent12ea63b9e8e8cca66c73e18da094672cbcdd23ae (diff)
downloadruby-08a3897f32b2c742ea6a69a49ad1cc4175df0862.tar.gz
ruby-08a3897f32b2c742ea6a69a49ad1cc4175df0862.tar.xz
ruby-08a3897f32b2c742ea6a69a49ad1cc4175df0862.zip
* test/ruby/test_float.rb (TestFloat::test_strtod): update test to
conform strtod change. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_float.rb')
-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 c2e5041a2..d559ce5ca 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("+")}