aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-12-28 17:20:08 +0100
committerLoïc Hoguin <[email protected]>2013-12-28 17:20:08 +0100
commit0a439d0f038d84c419c6a5feb1bbc2b4ef4360e3 (patch)
treedfba4180fc7c8dfc1258a3b5d95633bd80f643ac /test
parent9f33a20d9425daf7491836e73f503c206cc170be (diff)
downloadcowboy-0a439d0f038d84c419c6a5feb1bbc2b4ef4360e3.tar.gz
cowboy-0a439d0f038d84c419c6a5feb1bbc2b4ef4360e3.tar.bz2
cowboy-0a439d0f038d84c419c6a5feb1bbc2b4ef4360e3.zip
Fix the SPDY suite for R15
Diffstat (limited to 'test')
-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.