aboutsummaryrefslogtreecommitdiffstats
path: root/test/rfc7540_SUITE.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-11-29 17:52:09 +0100
committerLoïc Hoguin <[email protected]>2017-11-29 17:52:09 +0100
commitbec9a43d50d7652dfb8499d7755335b1b6f05a41 (patch)
tree6e80478ca2c509a31cd9744f2748b5692f849a8a /test/rfc7540_SUITE.erl
parent0246d9a4e652a78396e8753487131af73b36b7f6 (diff)
downloadcowboy-bec9a43d50d7652dfb8499d7755335b1b6f05a41.tar.gz
cowboy-bec9a43d50d7652dfb8499d7755335b1b6f05a41.tar.bz2
cowboy-bec9a43d50d7652dfb8499d7755335b1b6f05a41.zip
Fix a broken test case in the rfc7540 suite
Diffstat (limited to 'test/rfc7540_SUITE.erl')
-rw-r--r--test/rfc7540_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rfc7540_SUITE.erl b/test/rfc7540_SUITE.erl
index c4c85a0..fdd83b3 100644
--- a/test/rfc7540_SUITE.erl
+++ b/test/rfc7540_SUITE.erl
@@ -146,7 +146,7 @@ http_upgrade_reject_bad_http2_settings_header(Config) ->
"Connection: Upgrade, HTTP2-Settings\r\n"
"Upgrade: h2c\r\n"
%% We send a full SETTINGS frame on purpose.
- "HTTP2-Settings: ", base64:encode(cow_http2:settings(#{})), "\r\n",
+ "HTTP2-Settings: ", base64:encode(iolist_to_binary(cow_http2:settings(#{}))), "\r\n",
"\r\n"]),
{ok, <<"HTTP/1.1 400">>} = gen_tcp:recv(Socket, 12, 1000),
ok.