Skip to content

Commit

Permalink
angstrom-constraint: require angstrom >= 0.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
seliopou committed Apr 29, 2020
1 parent ed8b094 commit fc0de5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion httpaf.opam
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
Expand Down
4 changes: 2 additions & 2 deletions lib_test/test_httpaf.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down Expand Up @@ -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
;;
Expand Down

0 comments on commit fc0de5f

Please sign in to comment.