summaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-20 17:26:32 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-20 17:26:32 +0000
commit1611ea2509d383bf468f5eccd3f0c06a2fe68376 (patch)
tree82780cbcc1b0fa292385532cd48dedf45f4c5550 /test/ruby
parentf17ae4bcaedff435a85ddb45575931a70d2bea0c (diff)
downloadruby-1611ea2509d383bf468f5eccd3f0c06a2fe68376.tar.gz
ruby-1611ea2509d383bf468f5eccd3f0c06a2fe68376.tar.xz
ruby-1611ea2509d383bf468f5eccd3f0c06a2fe68376.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/trunk@10575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_float.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/ruby/test_float.rb b/test/ruby/test_float.rb
index c2e5041a2..47b7bf6bc 100644
--- a/test/ruby/test_float.rb
+++ b/test/ruby/test_float.rb
@@ -73,12 +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("+")}
assert_raise(ArgumentError){Float("+.")}