aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/spdy_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/spdy_SUITE.erl b/test/spdy_SUITE.erl
index 2542840..f6a9a02 100644
--- a/test/spdy_SUITE.erl
+++ b/test/spdy_SUITE.erl
@@ -103,7 +103,7 @@ quick_get(Pid, Host, Path) ->
error(Reason);
{gun_response, Pid, StreamRef, IsFin,
<< Status:3/binary, _/bits >>, Headers} ->
- {IsFin, binary_to_integer(Status), Headers}
+ {IsFin, list_to_integer(binary_to_list(Status)), Headers}
after 1000 ->
error(timeout)
end.