aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2015-11-06 10:21:26 +0900
committerKazuki Yamaguchi <k@rhe.jp>2015-11-06 10:21:26 +0900
commit4c26fd8e0c8bde6bac5a649629c79a6db82cd06f (patch)
tree3d73725f10d0356d7044c5b18529b8cc0b547f29 /test
parentabfb4a22a7f719b645c9fd97444fbaba7c357c17 (diff)
downloadplum-4c26fd8e0c8bde6bac5a649629c79a6db82cd06f.tar.gz
client: constructor accept IO object
Diffstat (limited to 'test')
-rw-r--r--test/plum/client/test_response.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/plum/client/test_response.rb b/test/plum/client/test_response.rb
index 16b9be3..dbb6ba2 100644
--- a/test/plum/client/test_response.rb
+++ b/test/plum/client/test_response.rb
@@ -18,7 +18,7 @@ class ResponseTest < Minitest::Test
run = true
resp.each_chunk { |chunk| ret << chunk } } }
resp._chunk("a")
- resp._fail
+ resp._fail(RuntimeError.new)
timeout(3) {
t.join }
assert(run)