diff options
-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 |