Skip to content

Commit

Permalink
Merge pull request #176 from inhabitedtype/angstrom-constraint
Browse files Browse the repository at this point in the history
angstrom-constraint: require angstrom >= 0.14.0
  • Loading branch information
seliopou authored May 6, 2020
2 parents ed8b094 + fc0de5f commit e51aaac
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 e51aaac

Please sign in to comment.