summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/etap/180-http-proxy.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/etap/180-http-proxy.t b/test/etap/180-http-proxy.t
index b91d901b..cf1c2783 100755
--- a/test/etap/180-http-proxy.t
+++ b/test/etap/180-http-proxy.t
@@ -93,8 +93,8 @@ test_basic() ->
Remote = fun(Req) ->
'GET' = Req:get(method),
"/" = Req:get(path),
- undefined = Req:get(body_length),
- undefined = Req:recv_body(),
+ 0 = Req:get(body_length),
+ <<>> = Req:recv_body(),
{ok, {200, [{"Content-Type", "text/plain"}], "ok"}}
end,
Local = fun({ok, "200", _, "ok"}) -> true; (_) -> false end,