From 8eb21778d88a40f9b7b3fa74b6a2104e41227e38 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 20 Jul 2006 17:26:32 +0000 Subject: [PATCH] * test/ruby/test_float.rb (TestFloat::test_strtod): update test to conform strtod change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 10 ++++++++++ test/ruby/test_float.rb | 6 ------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index ac7c91373c..42f65f9c8f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Jul 20 15:07:14 2006 Yukihiro Matsumoto + + * ruby.h: export classes/modules to implement sandbox. + [ruby-core:08283] + Wed Jul 19 19:40:00 2006 Yukihiro Matsumoto * eval.c (rb_yield_0): should check args_args before lambda @@ -19,6 +24,11 @@ Tue Jul 18 23:10:43 2006 NAKAMURA Usaku * win32/win32.c (rb_w32_opendir): should not use plain realloc. +Tue Jul 18 18:05:49 2006 Yukihiro Matsumoto + + * test/ruby/test_float.rb (TestFloat::test_strtod): update test to + conform strtod change. + Tue Jul 18 16:52:29 2006 Yukihiro Matsumoto * eval.c (yield_under_i): argument should be passed in avalue diff --git a/test/ruby/test_float.rb b/test/ruby/test_float.rb index c2e5041a21..47b7bf6bc4 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("+.")}