Skip to content

Commit

Permalink
Misc: bump test dep
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo committed Nov 27, 2024
1 parent 7c729ae commit e3dfc56
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
(ocaml (>= 4.08))
(js_of_ocaml-compiler (= :version))
(ocamlfind (>= 1.5.1))
(cohttp-lwt-unix :with-test)
(cohttp-lwt-unix (and (>= 6.0.0) :with-test))
(graphics :with-test)
(num :with-test)
(ppx_expect (and (>= v0.14.2) :with-test))
Expand Down
2 changes: 1 addition & 1 deletion js_of_ocaml-toplevel.opam
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ depends: [
"ocaml" {>= "4.08"}
"js_of_ocaml-compiler" {= version}
"ocamlfind" {>= "1.5.1"}
"cohttp-lwt-unix" {with-test}
"cohttp-lwt-unix" {>= "6.0.0" & with-test}
"graphics" {with-test}
"num" {with-test}
"ppx_expect" {>= "v0.14.2" & with-test}
Expand Down
2 changes: 1 addition & 1 deletion toplevel/examples/server/server.ml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ let server () =
>>= fun () -> Server.respond_file ~headers:header_plain_user_charset ~fname ()
with _ ->
(* send static file *)
let fname = Server.resolve_file ~docroot:"." ~uri in
let fname = Path.resolve_local_file ~docroot:"." ~uri in
Lwt_io.eprintf "static: %s\n" fname
>>= fun () ->
let headers =
Expand Down

0 comments on commit e3dfc56

Please sign in to comment.