From 39f5f7e4605b65fbf3da91a61e8a2123aa04fe1c Mon Sep 17 00:00:00 2001 From: daurnimator Date: Sat, 17 Dec 2016 05:05:04 +1100 Subject: [PATCH] spec/h1_connection_spec: Fix comment mentioning EPIPE --- spec/h1_connection_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/h1_connection_spec.lua b/spec/h1_connection_spec.lua index 75408c6c..7f3c4246 100644 --- a/spec/h1_connection_spec.lua +++ b/spec/h1_connection_spec.lua @@ -532,7 +532,7 @@ describe("high level http1 connection operations", function() c:close() -- perform a read operation so we note the EOF assert.same({nil, nil}, {s:read_status_line()}) - -- now waiting for a stream should return EPIPE + -- now waiting for a stream should also return EOF assert.same({nil, nil}, {s:get_next_incoming_stream()}) s:close() end)