Skip to content

Commit 97db4d6

Browse files
hhugovouillon
authored andcommitted
Misc: bump test dep
1 parent a0b5b8c commit 97db4d6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dune-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
(ocaml (>= 4.08))
9494
(js_of_ocaml-compiler (= :version))
9595
(ocamlfind (>= 1.5.1))
96-
(cohttp-lwt-unix :with-test)
96+
(cohttp-lwt-unix (and (>= 6.0.0) :with-test))
9797
(graphics :with-test)
9898
(num :with-test)
9999
(ppx_expect (and (>= v0.14.2) :with-test))

js_of_ocaml-toplevel.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ depends: [
1616
"ocaml" {>= "4.08"}
1717
"js_of_ocaml-compiler" {= version}
1818
"ocamlfind" {>= "1.5.1"}
19-
"cohttp-lwt-unix" {with-test}
19+
"cohttp-lwt-unix" {>= "6.0.0" & with-test}
2020
"graphics" {with-test}
2121
"num" {with-test}
2222
"ppx_expect" {>= "v0.14.2" & with-test}

toplevel/examples/server/server.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ let server () =
3131
>>= fun () -> Server.respond_file ~headers:header_plain_user_charset ~fname ()
3232
with _ ->
3333
(* send static file *)
34-
let fname = Server.resolve_file ~docroot:"." ~uri in
34+
let fname = Path.resolve_local_file ~docroot:"." ~uri in
3535
Lwt_io.eprintf "static: %s\n" fname
3636
>>= fun () ->
3737
let headers =

0 commit comments

Comments
 (0)