summaryrefslogtreecommitdiff
path: root/test/ruby/test_float.rb
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-22 05:19:38 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-22 05:19:38 +0000
commit34ff55e82a5b8cca1ecf43118926fc66c7223e9d (patch)
treeb0128adbc10ced16332b2ecd71d76aa6ab9749e7 /test/ruby/test_float.rb
parente6f67598e9466a5cb95fc0a8ed487b04c764f361 (diff)
* test/ruby/test_float.rb, test_sprintf.rb: fix test place.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_float.rb')
-rw-r--r--test/ruby/test_float.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/ruby/test_float.rb b/test/ruby/test_float.rb
index f3224fface..0b06bd9d4d 100644
--- a/test/ruby/test_float.rb
+++ b/test/ruby/test_float.rb
@@ -13,8 +13,6 @@ class TestFloat < Test::Unit::TestCase
assert((13.4 % 1 - 0.4).abs < 0.0001)
assert_equal(36893488147419111424,
36893488147419107329.0.to_i)
- assert_equal("36893488147419111424",
- sprintf("%20.0f", 36893488147419107329.0))
end
def nan_test(x,y)