diff options
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/test_response.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_response.rb b/test/unit/test_response.rb index 1e9d74a..0b14d59 100644 --- a/test/unit/test_response.rb +++ b/test/unit/test_response.rb @@ -94,7 +94,7 @@ class ResponseTest < Test::Unit::TestCase assert_equal "HTTP/1.1 200 HI\r\n", r.gets r.read # just drain the pipe pid, status = Process.waitpid2(pid) - assert_predicate status, :success? + assert status.success?, status.inspect ensure r.close w.close unless w.closed? |