diff options
Diffstat (limited to 'src/cow_http_hd.erl')
-rw-r--r-- | src/cow_http_hd.erl | 3 |
1 files changed, 2 insertions, 1 deletions
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. |