mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_bignum.rb (TestBignum#test_convert): remove
platform dependent call of Process.wait. coverage should be accomplished by other method. [ruby-dev:36062] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bc53f80b37
commit
8249d674fd
2 changed files with 6 additions and 12 deletions
|
@ -1,3 +1,9 @@
|
|||
Thu Dec 11 10:25:25 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* test/ruby/test_bignum.rb (TestBignum#test_convert): remove
|
||||
platform dependent call of Process.wait. coverage should be
|
||||
accomplished by other method. [ruby-dev:36062]
|
||||
|
||||
Thu Dec 11 10:18:35 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* lib/rexml/document.rb (REXML::Document#write): require
|
||||
|
|
|
@ -196,18 +196,6 @@ class TestBignum < Test::Unit::TestCase
|
|||
assert_equal([255], [T_MONE].pack("C").unpack("C"))
|
||||
assert_equal([0], [T32].pack("C").unpack("C"))
|
||||
assert_raise(RangeError) { 0.to_s(T32) }
|
||||
assert_raise(Errno::EINVAL) do
|
||||
begin Process.wait(0, T32P); rescue Errno::ECHILD; end
|
||||
begin Process.wait(0, T64P); rescue Errno::ECHILD; end
|
||||
end
|
||||
assert_raise(RangeError) do
|
||||
begin Process.wait(0, T32); rescue Errno::ECHILD; end
|
||||
begin Process.wait(0, T64); rescue Errno::ECHILD; end
|
||||
end
|
||||
assert_raise(RangeError) do
|
||||
begin Process.wait(0, -T32P); rescue Errno::ECHILD; end
|
||||
begin Process.wait(0, -T64P); rescue Errno::ECHILD; end
|
||||
end
|
||||
end
|
||||
|
||||
def test_sub
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue