Skip to content

Commit

Permalink
chore: update JS deps to 0.17 (#10878)
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne Millon <me@emillon.org>
  • Loading branch information
emillon committed Sep 4, 2024
1 parent 864dfd7 commit 7d50c4b
Show file tree
Hide file tree
Showing 37 changed files with 7 additions and 47 deletions.
2 changes: 1 addition & 1 deletion dune.opam
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ depends: [
"menhir" { with-dev-setup & os != "win32" }
"ocamlfind" { with-dev-setup & os != "win32" }
"odoc" { with-dev-setup & >= "2.4.0" & os != "win32" }
"ppx_expect" { with-dev-setup & >= "v0.16" & < "v0.17" & os != "win32" }
"ppx_expect" { with-dev-setup & >= "v0.17" & os != "win32" }
"ppx_inline_test" { with-dev-setup & os != "win32" }
"ppxlib" { with-dev-setup & os != "win32" }
"ctypes" { with-dev-setup & os != "win32" }
Expand Down
2 changes: 1 addition & 1 deletion dune.opam.template
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ depends: [
"menhir" { with-dev-setup & os != "win32" }
"ocamlfind" { with-dev-setup & os != "win32" }
"odoc" { with-dev-setup & >= "2.4.0" & os != "win32" }
"ppx_expect" { with-dev-setup & >= "v0.16" & < "v0.17" & os != "win32" }
"ppx_expect" { with-dev-setup & >= "v0.17" & os != "win32" }
"ppx_inline_test" { with-dev-setup & os != "win32" }
"ppxlib" { with-dev-setup & os != "win32" }
"ctypes" { with-dev-setup & os != "win32" }
Expand Down
1 change: 0 additions & 1 deletion otherlibs/chrome-trace/test/dune
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down
1 change: 0 additions & 1 deletion otherlibs/dune-glob/test/dune
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down
1 change: 0 additions & 1 deletion otherlibs/dune-rpc-lwt/test/dune
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down
1 change: 0 additions & 1 deletion otherlibs/ocamlc-loc/test/dune
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
;; deps below required because (implicit_transitive_deps false)
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down
1 change: 0 additions & 1 deletion otherlibs/stdune/test/dune
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down
4 changes: 2 additions & 2 deletions test/blackbox-tests/test-cases/inline_tests/github6607.t
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ file.

let%expect_test _ =
User_message.print (User_error.make []);
[%expect{| Error: |}]
[%expect {| Error: |}]
$ dune clean
$ CLICOLOR_FORCE=1 dune runtest --auto-promote
File "l.ml", line 1, characters 0-0:
Expand All @@ -55,4 +55,4 @@ file.

let%expect_test _ =
User_message.print (User_error.make []);
[%expect{| ?[1;31mError?[0m: |}]
[%expect {| ?[1;31mError?[0m: |}]
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ syntax and ppx_expect break at dune lang 3.3 due to the sandboxing of ppx.
File "dune", line 3, characters 1-15:
3 | (inline_tests)
^^^^^^^^^^^^^^
Fatal error: exception ("Expect test evaluator bug"
(exn (Invalid_argument "pos + len past end: 78 + 1 > 72"))
(backtrace
Fatal error: exception Invalid_argument("pos + len past end: 0 + 79 > 72")
Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
Called from Base__Ordered_collection_common0.check_pos_len_exn in file "src/ordered_collection_common0.ml" (inlined), line 31, characters 7-53
1 change: 0 additions & 1 deletion test/expect-tests/csexp_rpc/dune
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config))
1 change: 0 additions & 1 deletion test/expect-tests/dag/dune
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down
1 change: 0 additions & 1 deletion test/expect-tests/digest/dune
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down
3 changes: 0 additions & 3 deletions test/expect-tests/dune
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(inline_tests)
Expand Down Expand Up @@ -46,7 +45,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand All @@ -69,6 +67,5 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config))
1 change: 0 additions & 1 deletion test/expect-tests/dune_action_plugin/dune
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
dune_action_plugin
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config
dune-glob)
Expand Down
1 change: 0 additions & 1 deletion test/expect-tests/dune_async_io/dune
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config))
1 change: 0 additions & 1 deletion test/expect-tests/dune_config_file/dune
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down
1 change: 0 additions & 1 deletion test/expect-tests/dune_console/dune
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config))
1 change: 0 additions & 1 deletion test/expect-tests/dune_engine/dune
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down
3 changes: 0 additions & 3 deletions test/expect-tests/dune_file_watcher/dune
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
dune_file_watcher_tests_lib
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
stdune
ppx_inline_test.config
Expand All @@ -41,7 +40,6 @@
dune_file_watcher_tests_lib
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
stdune
ppx_inline_test.config
Expand All @@ -64,7 +62,6 @@
dune_file_watcher
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
ppx_inline_test.config)
(preprocess
(pps ppx_expect)))
1 change: 0 additions & 1 deletion test/expect-tests/dune_lang/dune
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down
1 change: 0 additions & 1 deletion test/expect-tests/dune_patch/dune
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
base
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
ppx_inline_test.config)
(preprocess
(pps ppx_expect)))
1 change: 0 additions & 1 deletion test/expect-tests/dune_pkg/dune
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
ppx_inline_test.config)
(preprocess
(pps ppx_expect)))
Expand Down
1 change: 0 additions & 1 deletion test/expect-tests/dune_pkg_outdated/dune
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
base
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
ppx_inline_test.config)
(preprocess
(pps ppx_expect)))
1 change: 0 additions & 1 deletion test/expect-tests/dune_rpc/dune
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down
4 changes: 0 additions & 4 deletions test/expect-tests/dune_rpc_e2e/dune
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand All @@ -39,7 +38,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand All @@ -66,7 +64,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand All @@ -90,7 +87,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down
1 change: 0 additions & 1 deletion test/expect-tests/dune_rpc_impl/dune
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down
1 change: 0 additions & 1 deletion test/expect-tests/dune_sexp/dune
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down
1 change: 0 additions & 1 deletion test/expect-tests/dune_stats/dune
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down
1 change: 0 additions & 1 deletion test/expect-tests/dune_util/dune
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down
1 change: 0 additions & 1 deletion test/expect-tests/fiber_event_bus/dune
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down
1 change: 0 additions & 1 deletion test/expect-tests/fsevents/dune
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down
1 change: 0 additions & 1 deletion test/expect-tests/inotify_tests/dune
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
threads
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
stdune
ppx_inline_test.config
Expand Down
1 change: 0 additions & 1 deletion test/expect-tests/memo/dune
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down
1 change: 0 additions & 1 deletion test/expect-tests/memo/graph_dump/dune
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
;; This is because of the (implicit_transitive_deps false)
;; in dune-project
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down
1 change: 0 additions & 1 deletion test/expect-tests/scheme/dune
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(inline_tests)
Expand Down
1 change: 0 additions & 1 deletion test/expect-tests/vcs/dune
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down
1 change: 0 additions & 1 deletion vendor/fiber/test/dune
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
;; in dune-project
ppx_expect.config
ppx_expect.config_types
ppx_expect.common
base
ppx_inline_test.config)
(preprocess
Expand Down

0 comments on commit 7d50c4b

Please sign in to comment.