summaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-14 19:24:27 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-14 19:24:27 +0000
commit59a8eea99fa4b609a8406eb03233bb73c0550895 (patch)
tree28f3ac947eac0a03af5d86b87e5ed9f70ff47da3 /test/ruby
parentc3c65fd2fc9d12ea02bba01b14841c7760c3699c (diff)
downloadruby-59a8eea99fa4b609a8406eb03233bb73c0550895.tar.gz
ruby-59a8eea99fa4b609a8406eb03233bb73c0550895.tar.xz
ruby-59a8eea99fa4b609a8406eb03233bb73c0550895.zip
* test/ruby/test_float.rb (TestFloat#test_to_s): precision was
increased. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_float.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_float.rb b/test/ruby/test_float.rb
index e3ceaed6a..d8255df17 100644
--- a/test/ruby/test_float.rb
+++ b/test/ruby/test_float.rb
@@ -123,7 +123,7 @@ class TestFloat < Test::Unit::TestCase
assert_equal("-Infinity", (-inf).to_s)
assert_equal("NaN", (inf / inf).to_s)
- assert_equal("1.0e+14", 10000_00000_00000.0.to_s)
+ assert_equal("1.0e+18", 1000_00000_00000_00000.0.to_s)
end
def test_coerce