summary refs log tree commit homepage
diff options
authorEric Wong <>2015-07-05 00:29:00 +0000
committerEric Wong <>2015-07-05 00:29:00 +0000
commit78550a195ec70e1bbaf41fca7bac54815b117197 (patch)
parent18124ca1c2e0575404519d8b854d78187ad7bc43 (diff)
assert_predicate really isn't that useful even if it seems
preferred in another project I work on.  Avoid having folks
download the latest test-unit if they're on an old version of
Ruby (e.g. 1.9.3) which bundled it.
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 # just drain the pipe
     pid, status = Process.waitpid2(pid)
-    assert_predicate status, :success?
+    assert status.success?, status.inspect
     w.close unless w.closed?