From 59a8eea99fa4b609a8406eb03233bb73c0550895 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 14 Mar 2009 19:24:27 +0000 Subject: * 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 --- test/ruby/test_float.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby') 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 -- cgit