diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-11 01:26:59 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-11 01:26:59 +0000 |
commit | 8249d674fd1fb88c0c2abbd450712771f68a713a (patch) | |
tree | 323d480cbc889fe01803a2fb0174d0090d696a4a | |
parent | bc53f80b3791d3c73db44c2e454c98172a84917f (diff) |
* 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
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | test/ruby/test_bignum.rb | 12 |
2 files changed, 6 insertions, 12 deletions
@@ -1,3 +1,9 @@ +Thu Dec 11 10:25:25 2008 Yukihiro Matsumoto <[email protected]> + + * 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 <[email protected]> * lib/rexml/document.rb (REXML::Document#write): require diff --git a/test/ruby/test_bignum.rb b/test/ruby/test_bignum.rb index f6e9e65544..b60622fb17 100644 --- a/test/ruby/test_bignum.rb +++ b/test/ruby/test_bignum.rb @@ -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 |