diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-14 19:24:27 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-14 19:24:27 +0000 |
| commit | 59a8eea99fa4b609a8406eb03233bb73c0550895 (patch) | |
| tree | 28f3ac947eac0a03af5d86b87e5ed9f70ff47da3 /test/ruby | |
| parent | c3c65fd2fc9d12ea02bba01b14841c7760c3699c (diff) | |
| download | ruby-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.rb | 2 |
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 |
