diff --git a/httpaf.opam b/httpaf.opam index 2f388e65..37310f94 100644 --- a/httpaf.opam +++ b/httpaf.opam @@ -15,7 +15,7 @@ depends: [ "dune" {>= "1.5.0"} "alcotest" {with-test} "bigstringaf" {>= "0.4.0"} - "angstrom" {>= "0.9.0"} + "angstrom" {>= "0.14.0"} "faraday" {>= "0.6.1"} "result" ] diff --git a/lib_test/test_httpaf.ml b/lib_test/test_httpaf.ml index 333565b9..9e3b4765 100644 --- a/lib_test/test_httpaf.ml +++ b/lib_test/test_httpaf.ml @@ -170,7 +170,7 @@ module Request = struct in fun message ~expect input -> let actual = - Angstrom.parse_string Httpaf_private.Parse.request input + Angstrom.parse_string ~consume:All Httpaf_private.Parse.request input in Alcotest.check alco message expect actual ;; @@ -222,7 +222,7 @@ module Response = struct in fun message ~expect input -> let actual = - Angstrom.parse_string Httpaf_private.Parse.response input + Angstrom.parse_string ~consume:All Httpaf_private.Parse.response input in Alcotest.check alco message expect actual ;;