From 406f5a250ada0a174936bfd498718c2736bf2990 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 28 Dec 2014 15:46:40 +0100 Subject: Add a test for cow_http_hd:parse_content_length/1 Negative number. --- src/cow_http_hd.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/cow_http_hd.erl b/src/cow_http_hd.erl index 2e94e6b..6a45fe1 100644 --- a/src/cow_http_hd.erl +++ b/src/cow_http_hd.erl @@ -1420,6 +1420,7 @@ parse_content_length_test_() -> parse_content_length_error_test_() -> Tests = [ <<>>, + <<"-1">>, <<"123, 123">>, <<"4.17">> ], -- cgit v1.2.3