From 8a51e3b533d4be1f102c331709fb244776ff40dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 26 Dec 2014 13:08:14 +0100 Subject: Fix a parse_max_forwards test --- src/cow_http_hd.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/cow_http_hd.erl') diff --git a/src/cow_http_hd.erl b/src/cow_http_hd.erl index 48a8705..6d6562e 100644 --- a/src/cow_http_hd.erl +++ b/src/cow_http_hd.erl @@ -1853,7 +1853,8 @@ parse_max_forwards_error_test_() -> <<"123, 123">>, <<"4.17">> ], - [{V, fun() -> {'EXIT', _} = (catch parse_content_length(V)) end} || V <- Tests]. + [{V, fun() -> {'EXIT', _} = (catch parse_max_forwards(V)) end} || V <- Tests]. +-endif. %% @doc Parse the Retry-After header. -- cgit v1.2.3