зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
0a7abb6a6c
Коммит
8eb21778d8
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,8 @@
|
|||
Thu Jul 20 15:07:14 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* ruby.h: export classes/modules to implement sandbox.
|
||||
[ruby-core:08283]
|
||||
|
||||
Wed Jul 19 19:40:00 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* eval.c (rb_yield_0): should check args_args before lambda
|
||||
|
@ -19,6 +24,11 @@ Tue Jul 18 23:10:43 2006 NAKAMURA Usaku <usa@ruby-lang.org>
|
|||
|
||||
* win32/win32.c (rb_w32_opendir): should not use plain realloc.
|
||||
|
||||
Tue Jul 18 18:05:49 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* test/ruby/test_float.rb (TestFloat::test_strtod): update test to
|
||||
conform strtod change.
|
||||
|
||||
Tue Jul 18 16:52:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* eval.c (yield_under_i): argument should be passed in avalue
|
||||
|
|
|
@ -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("+.")}
|
||||
|
|
Загрузка…
Ссылка в новой задаче