diff options
author | Loïc Hoguin <[email protected]> | 2014-12-26 10:53:37 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2014-12-26 10:53:37 +0100 |
commit | 35e1391a570ca1f1b1b0df03e70e67d113da8818 (patch) | |
tree | 2c5763f6bd179dd8a113b9db25d96f80d2cb8682 | |
parent | 01bc3eb38188f7c128c59d55a27478a5f9a80384 (diff) | |
download | cowlib-35e1391a570ca1f1b1b0df03e70e67d113da8818.tar.gz cowlib-35e1391a570ca1f1b1b0df03e70e67d113da8818.tar.bz2 cowlib-35e1391a570ca1f1b1b0df03e70e67d113da8818.zip |
Fix a parse_upgrade test
-rw-r--r-- | src/cow_http_hd.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cow_http_hd.erl b/src/cow_http_hd.erl index e92a0a9..e94dabc 100644 --- a/src/cow_http_hd.erl +++ b/src/cow_http_hd.erl @@ -2361,7 +2361,7 @@ parse_upgrade_test_() -> [<<"http/2.0">>, <<"shttp/1.3">>, <<"irc/6.9">>, <<"rta/x11">>]}, {<<"HTTP/2.0">>, [<<"http/2.0">>]} ], - [{V, fun() -> R = parse_transfer_encoding(V) end} || {V, R} <- Tests]. + [{V, fun() -> R = parse_upgrade(V) end} || {V, R} <- Tests]. parse_upgrade_error_test_() -> Tests = [ |