diff --git a/test/blackbox-tests/test-cases/byte-code-only.t/bin-with-build-info/dune b/test/blackbox-tests/test-cases/byte-code-only.t/bin-with-build-info/dune index d337f6db2c5..b15cee7dea1 100644 --- a/test/blackbox-tests/test-cases/byte-code-only.t/bin-with-build-info/dune +++ b/test/blackbox-tests/test-cases/byte-code-only.t/bin-with-build-info/dune @@ -1,5 +1,4 @@ (executable (name print_version) (modes exe byte) - (libraries build_info) - ) + (libraries build_info)) diff --git a/test/blackbox-tests/test-cases/contents-depends-on-glob.t/dune b/test/blackbox-tests/test-cases/contents-depends-on-glob.t/dune index aa06fee33de..835a3b74995 100644 --- a/test/blackbox-tests/test-cases/contents-depends-on-glob.t/dune +++ b/test/blackbox-tests/test-cases/contents-depends-on-glob.t/dune @@ -1,4 +1,3 @@ - (alias (name print-contents-of-x) (deps x (universe)) diff --git a/test/blackbox-tests/test-cases/coq/compose-boot-nodups.t/B/dune b/test/blackbox-tests/test-cases/coq/compose-boot-nodups.t/B/dune index 12889638004..9a5cab28957 100644 --- a/test/blackbox-tests/test-cases/coq/compose-boot-nodups.t/B/dune +++ b/test/blackbox-tests/test-cases/coq/compose-boot-nodups.t/B/dune @@ -2,5 +2,3 @@ (name B) (package B) (boot)) - - diff --git a/test/blackbox-tests/test-cases/coq/config-no-coqc.t/coq/Common/dune b/test/blackbox-tests/test-cases/coq/config-no-coqc.t/coq/Common/dune index 212d83cd7ca..d119980a412 100644 --- a/test/blackbox-tests/test-cases/coq/config-no-coqc.t/coq/Common/dune +++ b/test/blackbox-tests/test-cases/coq/config-no-coqc.t/coq/Common/dune @@ -2,5 +2,4 @@ (mode vo) (name Common) (package example-coq) - (modules Foo) -) + (modules Foo)) diff --git a/test/blackbox-tests/test-cases/coq/config-no-coqc.t/coq/dune b/test/blackbox-tests/test-cases/coq/config-no-coqc.t/coq/dune index a2079582ced..5ee43156241 100644 --- a/test/blackbox-tests/test-cases/coq/config-no-coqc.t/coq/dune +++ b/test/blackbox-tests/test-cases/coq/config-no-coqc.t/coq/dune @@ -3,8 +3,9 @@ (package example-coq) (target CRelationClasses.mli) (action - (with-stdout-to %{target} (run %{dep:extracted/patch.sh} %{dep:extracted/CRelationClasses.mli}) -))) + (with-stdout-to + %{target} + (run %{dep:extracted/patch.sh} %{dep:extracted/CRelationClasses.mli})))) (copy_files extracted/CRelationClasses.ml) (copy_files extracted/Datatypes.{ml,mli}) @@ -16,6 +17,4 @@ (modules (:standard)) (libraries zarith coq-core.kernel) (wrapped false) - (flags (:standard -rectypes -w -27-32-33-39-67-37-20-34)) -) - + (flags (:standard -rectypes -w -27-32-33-39-67-37-20-34))) diff --git a/test/blackbox-tests/test-cases/coq/config-no-coqc.t/ml/dune b/test/blackbox-tests/test-cases/coq/config-no-coqc.t/ml/dune index 4400b2e177e..36df2d0f2c7 100644 --- a/test/blackbox-tests/test-cases/coq/config-no-coqc.t/ml/dune +++ b/test/blackbox-tests/test-cases/coq/config-no-coqc.t/ml/dune @@ -3,5 +3,4 @@ (public_name example-ocaml.bar) (modules bar) (wrapped false) - (flags (:standard -rectypes -w -27-32-33-39-67-37-20-34)) -) + (flags (:standard -rectypes -w -27-32-33-39-67-37-20-34))) diff --git a/test/blackbox-tests/test-cases/ctypes/lib-pkg_config-multiple-fd.t/dune b/test/blackbox-tests/test-cases/ctypes/lib-pkg_config-multiple-fd.t/dune index 251267cde5f..de28dacb145 100644 --- a/test/blackbox-tests/test-cases/ctypes/lib-pkg_config-multiple-fd.t/dune +++ b/test/blackbox-tests/test-cases/ctypes/lib-pkg_config-multiple-fd.t/dune @@ -1,3 +1,3 @@ (executable - (name example) - (libraries examplelib)) + (name example) + (libraries examplelib)) diff --git a/test/blackbox-tests/test-cases/ctypes/lib-pkg_config.t/dune b/test/blackbox-tests/test-cases/ctypes/lib-pkg_config.t/dune index 251267cde5f..de28dacb145 100644 --- a/test/blackbox-tests/test-cases/ctypes/lib-pkg_config.t/dune +++ b/test/blackbox-tests/test-cases/ctypes/lib-pkg_config.t/dune @@ -1,3 +1,3 @@ (executable - (name example) - (libraries examplelib)) + (name example) + (libraries examplelib)) diff --git a/test/blackbox-tests/test-cases/custom-cross-compilation/topological-loop.t/dune b/test/blackbox-tests/test-cases/custom-cross-compilation/topological-loop.t/dune index e90108e9579..bdd4299564b 100644 --- a/test/blackbox-tests/test-cases/custom-cross-compilation/topological-loop.t/dune +++ b/test/blackbox-tests/test-cases/custom-cross-compilation/topological-loop.t/dune @@ -1,6 +1,5 @@ (executable (name p) - (public_name p) -) + (public_name p)) (rule (with-stdout-to file (run ./p.exe))) diff --git a/test/blackbox-tests/test-cases/dune-package.t/dune b/test/blackbox-tests/test-cases/dune-package.t/dune index 7f0c231405b..8090ba6b1b6 100644 --- a/test/blackbox-tests/test-cases/dune-package.t/dune +++ b/test/blackbox-tests/test-cases/dune-package.t/dune @@ -24,5 +24,4 @@ (install (section share) (package a) - (files foo.txt) -) + (files foo.txt)) diff --git a/test/blackbox-tests/test-cases/env/env-cflags.t/src/dune b/test/blackbox-tests/test-cases/env/env-cflags.t/src/dune index 8a82a489c2c..2cee73ae6fa 100644 --- a/test/blackbox-tests/test-cases/env/env-cflags.t/src/dune +++ b/test/blackbox-tests/test-cases/env/env-cflags.t/src/dune @@ -1,5 +1,4 @@ (env (default (c_flags :standard ":standard + in src") - (cxx_flags :standard ":standard + in src") - )) + (cxx_flags :standard ":standard + in src"))) diff --git a/test/blackbox-tests/test-cases/env/env-tracking.t/dune b/test/blackbox-tests/test-cases/env/env-tracking.t/dune index 1b80d9a1020..21f3e6d3a77 100644 --- a/test/blackbox-tests/test-cases/env/env-tracking.t/dune +++ b/test/blackbox-tests/test-cases/env/env-tracking.t/dune @@ -1,14 +1,11 @@ (executable - (name a) -) + (name a)) (alias (name without_dep) - (action (run ./a.exe)) -) + (action (run ./a.exe))) (alias (name with_dep) (deps (env_var X)) - (action (run ./a.exe)) -) + (action (run ./a.exe))) diff --git a/test/blackbox-tests/test-cases/env/env-variables/precedence.t/dune b/test/blackbox-tests/test-cases/env/env-variables/precedence.t/dune index 39e9ad42979..d914250b65b 100644 --- a/test/blackbox-tests/test-cases/env/env-variables/precedence.t/dune +++ b/test/blackbox-tests/test-cases/env/env-variables/precedence.t/dune @@ -1,3 +1,2 @@ (executable - (name printenv) - ) + (name printenv)) diff --git a/test/blackbox-tests/test-cases/findlib-dynload.t/dune b/test/blackbox-tests/test-cases/findlib-dynload.t/dune index 9c2918434ed..dbe8269e371 100644 --- a/test/blackbox-tests/test-cases/findlib-dynload.t/dune +++ b/test/blackbox-tests/test-cases/findlib-dynload.t/dune @@ -1,63 +1,53 @@ (library - (name a) - (public_name a) - (modules a) -) + (name a) + (public_name a) + (modules a)) (library - (name mytool_plugin_b) - (public_name mytool-plugin-b) - (modules mytool_plugin_b) - (libraries a mytool) -) + (name mytool_plugin_b) + (public_name mytool-plugin-b) + (modules mytool_plugin_b) + (libraries a mytool)) (library - (name mytool) - (public_name mytool) - (modules register) -) + (name mytool) + (public_name mytool) + (modules register)) (executable - (name main) - (modules main) - (public_name mytool) - (package mytool) - (libraries mytool findlib.dynload threads) - ) - + (name main) + (modules main) + (public_name mytool) + (package mytool) + (libraries mytool findlib.dynload threads)) (rule (copy main.ml main_with_a.ml)) (rule (copy main.ml main_modes_byte.ml)) (executable - (name main_with_a) - (modules main_with_a) - (public_name mytool_with_a) - (package mytool) - (libraries mytool findlib.dynload a threads) - ) + (name main_with_a) + (modules main_with_a) + (public_name mytool_with_a) + (package mytool) + (libraries mytool findlib.dynload a threads)) (executable - (name main_modes_byte) - (modules main_modes_byte) - (public_name mytool_modes_byte) - (package mytool) - (libraries mytool findlib.dynload threads) - (modes byte) - ) + (name main_modes_byte) + (modules main_modes_byte) + (public_name mytool_modes_byte) + (package mytool) + (libraries mytool findlib.dynload threads) + (modes byte)) (executable - (name main_auto) - (modules main_auto) - (public_name mytool_auto) - (package mytool) - (libraries mytool findlib.dynload findlib threads) - ) - + (name main_auto) + (modules main_auto) + (public_name mytool_auto) + (package mytool) + (libraries mytool findlib.dynload findlib threads)) (library - (name c_thread) - (public_name c_thread) - (modules c_thread) - (libraries threads mytool) -) + (name c_thread) + (public_name c_thread) + (modules c_thread) + (libraries threads mytool)) diff --git a/test/blackbox-tests/test-cases/findlib-error.t/in-dune/dune b/test/blackbox-tests/test-cases/findlib-error.t/in-dune/dune index 3c563d80d70..ec00551ef7a 100644 --- a/test/blackbox-tests/test-cases/findlib-error.t/in-dune/dune +++ b/test/blackbox-tests/test-cases/findlib-error.t/in-dune/dune @@ -1,3 +1 @@ -(rule -(write-file target.txt %{findlib:pkg}) -) +(rule (write-file target.txt %{findlib:pkg})) diff --git a/test/blackbox-tests/test-cases/findlib-error.t/run.t b/test/blackbox-tests/test-cases/findlib-error.t/run.t index 2b50abc5b9e..1b4bea7046d 100644 --- a/test/blackbox-tests/test-cases/findlib-error.t/run.t +++ b/test/blackbox-tests/test-cases/findlib-error.t/run.t @@ -2,9 +2,9 @@ We are dropping support for findlib in dune $ dune build --root in-dune target.txt Entering directory 'in-dune' - File "dune", line 2, characters 23-37: - 2 | (write-file target.txt %{findlib:pkg}) - ^^^^^^^^^^^^^^ + File "dune", line 1, characters 29-43: + 1 | (rule (write-file target.txt %{findlib:pkg})) + ^^^^^^^^^^^^^^ Error: %{findlib:..} was renamed to '%{lib:..}' in the 1.0 version of the dune language Leaving directory 'in-dune' diff --git a/test/blackbox-tests/test-cases/foreign-stubs/c-flags.t/vendor/dune b/test/blackbox-tests/test-cases/foreign-stubs/c-flags.t/vendor/dune index 5c45502bdc6..a50699ffe25 100644 --- a/test/blackbox-tests/test-cases/foreign-stubs/c-flags.t/vendor/dune +++ b/test/blackbox-tests/test-cases/foreign-stubs/c-flags.t/vendor/dune @@ -1,3 +1,6 @@ (library (name testv) -(foreign_stubs (language c) (names barv) (flags))) + (foreign_stubs + (language c) + (names barv) + (flags))) diff --git a/test/blackbox-tests/test-cases/foreign-stubs/fs-mode-dependent/fsmd-simple.t/lib/dune b/test/blackbox-tests/test-cases/foreign-stubs/fs-mode-dependent/fsmd-simple.t/lib/dune index f3aba8cf77f..887acc6b6f3 100644 --- a/test/blackbox-tests/test-cases/foreign-stubs/fs-mode-dependent/fsmd-simple.t/lib/dune +++ b/test/blackbox-tests/test-cases/foreign-stubs/fs-mode-dependent/fsmd-simple.t/lib/dune @@ -1,11 +1,11 @@ (library (name lib_with_md_stubs) (foreign_stubs - (language c) - (mode byte) - (names c_stubs_lib)) + (language c) + (mode byte) + (names c_stubs_lib)) (foreign_stubs - (language c) - (mode native) - (flags :standard -DNATIVE_CODE) - (names c_stubs_lib))) + (language c) + (mode native) + (flags :standard -DNATIVE_CODE) + (names c_stubs_lib))) diff --git a/test/blackbox-tests/test-cases/gen-opam-install-file/lib-unwrapped.t/dune b/test/blackbox-tests/test-cases/gen-opam-install-file/lib-unwrapped.t/dune index ebd42bd356a..9d50d1c07c4 100644 --- a/test/blackbox-tests/test-cases/gen-opam-install-file/lib-unwrapped.t/dune +++ b/test/blackbox-tests/test-cases/gen-opam-install-file/lib-unwrapped.t/dune @@ -5,4 +5,4 @@ (alias (name default) - (action (echo "%{read:foo.install}"))) \ No newline at end of file + (action (echo "%{read:foo.install}"))) diff --git a/test/blackbox-tests/test-cases/github1231.t/dune b/test/blackbox-tests/test-cases/github1231.t/dune index 623a6caf53c..dda2a5cea0d 100644 --- a/test/blackbox-tests/test-cases/github1231.t/dune +++ b/test/blackbox-tests/test-cases/github1231.t/dune @@ -1,12 +1,10 @@ (test (name test_a) (modules test_a) - (package a) -) + (package a)) (test (name test_b) (modules test_b) (package b) - (libraries does-not-exist) -) + (libraries does-not-exist)) diff --git a/test/blackbox-tests/test-cases/github1549.t/backend/simple_tests/dune b/test/blackbox-tests/test-cases/github1549.t/backend/simple_tests/dune index 28809842836..d86c666b29a 100644 --- a/test/blackbox-tests/test-cases/github1549.t/backend/simple_tests/dune +++ b/test/blackbox-tests/test-cases/github1549.t/backend/simple_tests/dune @@ -2,5 +2,4 @@ (name simple_tests) (public_name dune_inline_tests) (inline_tests.backend - (generate_runner (run sed "s/(\\*TEST:\\(.*\\)\\*)/let () = \\1;;/" %{impl-files})) - )) \ No newline at end of file + (generate_runner (run sed "s/(\\*TEST:\\(.*\\)\\*)/let () = \\1;;/" %{impl-files})))) diff --git a/test/blackbox-tests/test-cases/github1549.t/example/src/dune b/test/blackbox-tests/test-cases/github1549.t/example/src/dune index 34b65e983ac..aeaad8c70a6 100644 --- a/test/blackbox-tests/test-cases/github1549.t/example/src/dune +++ b/test/blackbox-tests/test-cases/github1549.t/example/src/dune @@ -1,3 +1,3 @@ (library - (name example) - (inline_tests (backend dune_inline_tests))) \ No newline at end of file + (name example) + (inline_tests (backend dune_inline_tests))) diff --git a/test/blackbox-tests/test-cases/hidden-deps-supported.t/tyxml/dune b/test/blackbox-tests/test-cases/hidden-deps-supported.t/tyxml/dune index 14cd546b25b..9a1439046cd 100644 --- a/test/blackbox-tests/test-cases/hidden-deps-supported.t/tyxml/dune +++ b/test/blackbox-tests/test-cases/hidden-deps-supported.t/tyxml/dune @@ -1,4 +1,3 @@ (executable - (name run) - (libraries tyxml)) - \ No newline at end of file + (name run) + (libraries tyxml)) diff --git a/test/blackbox-tests/test-cases/hidden-deps-unsupported.t/dune b/test/blackbox-tests/test-cases/hidden-deps-unsupported.t/dune index c5481663927..7e1990565a7 100644 --- a/test/blackbox-tests/test-cases/hidden-deps-unsupported.t/dune +++ b/test/blackbox-tests/test-cases/hidden-deps-unsupported.t/dune @@ -11,4 +11,3 @@ (name run) (modules run) (libraries bar)) - \ No newline at end of file diff --git a/test/blackbox-tests/test-cases/install-dir/install-libdir.t/bin/dune b/test/blackbox-tests/test-cases/install-dir/install-libdir.t/bin/dune index 77eb697f70e..127adcd7db0 100644 --- a/test/blackbox-tests/test-cases/install-dir/install-libdir.t/bin/dune +++ b/test/blackbox-tests/test-cases/install-dir/install-libdir.t/bin/dune @@ -1,3 +1,2 @@ (executable - (public_name exec) -) + (public_name exec)) diff --git a/test/blackbox-tests/test-cases/install-dry-run.t/dune b/test/blackbox-tests/test-cases/install-dry-run.t/dune index f3dab084724..e53ab57d983 100644 --- a/test/blackbox-tests/test-cases/install-dry-run.t/dune +++ b/test/blackbox-tests/test-cases/install-dry-run.t/dune @@ -1,3 +1,2 @@ (library - (public_name mylib) -) + (public_name mylib)) diff --git a/test/blackbox-tests/test-cases/jsoo/jsoo-config.t/bin/dune b/test/blackbox-tests/test-cases/jsoo/jsoo-config.t/bin/dune index 6dc09bed0e5..10e2aece1f0 100644 --- a/test/blackbox-tests/test-cases/jsoo/jsoo-config.t/bin/dune +++ b/test/blackbox-tests/test-cases/jsoo/jsoo-config.t/bin/dune @@ -1,24 +1,21 @@ (executable - (name bin1) - (modules bin1) - (modes js) - (libraries library1) - (js_of_ocaml - (flags (:standard --enable use-js-string))) -) + (name bin1) + (modules bin1) + (modes js) + (libraries library1) + (js_of_ocaml + (flags (:standard --enable use-js-string)))) (executable - (name bin2) - (modules bin2) - (modes js) - (libraries library1) - (js_of_ocaml - (flags (:standard --disable use-js-string))) -) + (name bin2) + (modules bin2) + (modes js) + (libraries library1) + (js_of_ocaml + (flags (:standard --disable use-js-string)))) (executable - (name bin3) - (modules bin3) - (modes js) - (libraries library1) -) + (name bin3) + (modules bin3) + (modes js) + (libraries library1)) diff --git a/test/blackbox-tests/test-cases/jsoo/jsoo-config.t/dune b/test/blackbox-tests/test-cases/jsoo/jsoo-config.t/dune index 4aaa3e491ee..1b049a5f23f 100644 --- a/test/blackbox-tests/test-cases/jsoo/jsoo-config.t/dune +++ b/test/blackbox-tests/test-cases/jsoo/jsoo-config.t/dune @@ -1,6 +1,5 @@ (env - (_ - (js_of_ocaml - (flags (:standard --quiet)) - (compilation_mode separate) -))) \ No newline at end of file + (_ + (js_of_ocaml + (flags (:standard --quiet)) + (compilation_mode separate)))) diff --git a/test/blackbox-tests/test-cases/jsoo/jsoo-config.t/lib/dune b/test/blackbox-tests/test-cases/jsoo/jsoo-config.t/lib/dune index 22f5ea64365..091b0c3b3de 100644 --- a/test/blackbox-tests/test-cases/jsoo/jsoo-config.t/lib/dune +++ b/test/blackbox-tests/test-cases/jsoo/jsoo-config.t/lib/dune @@ -1 +1 @@ -(library (name library1)) \ No newline at end of file +(library (name library1)) diff --git a/test/blackbox-tests/test-cases/jsoo/no-check-prim.t/bin/dune b/test/blackbox-tests/test-cases/jsoo/no-check-prim.t/bin/dune index 03b3bafd9f4..11a68aa0bd4 100644 --- a/test/blackbox-tests/test-cases/jsoo/no-check-prim.t/bin/dune +++ b/test/blackbox-tests/test-cases/jsoo/no-check-prim.t/bin/dune @@ -2,5 +2,5 @@ (names technologic) (libraries js_of_ocaml x) (js_of_ocaml - (flags (:standard)) - (javascript_files runtime.js))) + (flags (:standard)) + (javascript_files runtime.js))) diff --git a/test/blackbox-tests/test-cases/jsoo/no-check-prim.t/lib/dune b/test/blackbox-tests/test-cases/jsoo/no-check-prim.t/lib/dune index eab032921a1..cdff40d5b13 100644 --- a/test/blackbox-tests/test-cases/jsoo/no-check-prim.t/lib/dune +++ b/test/blackbox-tests/test-cases/jsoo/no-check-prim.t/lib/dune @@ -3,5 +3,4 @@ (libraries js_of_ocaml) (public_name x) (js_of_ocaml - (flags (--pretty)) (javascript_files runtime.js)) - ) + (flags (--pretty)) (javascript_files runtime.js))) diff --git a/test/blackbox-tests/test-cases/jsoo/simple.t/bin/dune b/test/blackbox-tests/test-cases/jsoo/simple.t/bin/dune index 03b3bafd9f4..11a68aa0bd4 100644 --- a/test/blackbox-tests/test-cases/jsoo/simple.t/bin/dune +++ b/test/blackbox-tests/test-cases/jsoo/simple.t/bin/dune @@ -2,5 +2,5 @@ (names technologic) (libraries js_of_ocaml x) (js_of_ocaml - (flags (:standard)) - (javascript_files runtime.js))) + (flags (:standard)) + (javascript_files runtime.js))) diff --git a/test/blackbox-tests/test-cases/jsoo/tests.t/dune b/test/blackbox-tests/test-cases/jsoo/tests.t/dune index 268671a8068..1b8fd6cd1e5 100644 --- a/test/blackbox-tests/test-cases/jsoo/tests.t/dune +++ b/test/blackbox-tests/test-cases/jsoo/tests.t/dune @@ -1,5 +1,9 @@ (tests - (names a b) - (modes js)) + (names a b) + (modes js)) -(env (_ (js_of_ocaml (runtest_alias runtest-js) (compilation_mode whole_program)))) \ No newline at end of file +(env + (_ + (js_of_ocaml + (runtest_alias runtest-js) + (compilation_mode whole_program)))) diff --git a/test/blackbox-tests/test-cases/link-deps.t/dune b/test/blackbox-tests/test-cases/link-deps.t/dune index d5823a80de4..c0fe035e1ff 100644 --- a/test/blackbox-tests/test-cases/link-deps.t/dune +++ b/test/blackbox-tests/test-cases/link-deps.t/dune @@ -1,10 +1,8 @@ (alias - (name message) - (deps .link_deps.eobjs/.byte_objs/link_deps.cmo) - (action (echo "link\n")) - ) + (name message) + (deps .link_deps.eobjs/.byte_objs/link_deps.cmo) + (action (echo "link\n"))) (executable - (name link_deps) - (link_deps (alias message)) - ) + (name link_deps) + (link_deps (alias message))) diff --git a/test/blackbox-tests/test-cases/link-deps.t/run.t b/test/blackbox-tests/test-cases/link-deps.t/run.t index be28ff77c2f..19d05b91dff 100644 --- a/test/blackbox-tests/test-cases/link-deps.t/run.t +++ b/test/blackbox-tests/test-cases/link-deps.t/run.t @@ -4,8 +4,8 @@ In particular, these can depend on the result of the compilation (like a .cmo file) and be created just before linking. $ dune build link_deps.exe - File "dune", line 8, characters 8-17: - 8 | (name link_deps) - ^^^^^^^^^ + File "dune", line 7, characters 7-16: + 7 | (name link_deps) + ^^^^^^^^^ Error: No rule found for .link_deps.eobjs/.byte_objs/link_deps.cmo [1] diff --git a/test/blackbox-tests/test-cases/loc.t/dune b/test/blackbox-tests/test-cases/loc.t/dune index c00ab60f6cc..5c568b44b98 100644 --- a/test/blackbox-tests/test-cases/loc.t/dune +++ b/test/blackbox-tests/test-cases/loc.t/dune @@ -14,4 +14,4 @@ (targets bar) (action (run idontexist))) - \ No newline at end of file + diff --git a/test/blackbox-tests/test-cases/tests-stanza-action-syntax-version.t/dune b/test/blackbox-tests/test-cases/tests-stanza-action-syntax-version.t/dune index 9e3f1fe16fd..90cc327fc19 100644 --- a/test/blackbox-tests/test-cases/tests-stanza-action-syntax-version.t/dune +++ b/test/blackbox-tests/test-cases/tests-stanza-action-syntax-version.t/dune @@ -1,4 +1,3 @@ (test - (name test) - (action (run %{test})) -) + (name test) + (action (run %{test}))) diff --git a/test/blackbox-tests/test-cases/tests-stanza-action-syntax-version.t/run.t b/test/blackbox-tests/test-cases/tests-stanza-action-syntax-version.t/run.t index 68342f66317..225b1956a11 100644 --- a/test/blackbox-tests/test-cases/tests-stanza-action-syntax-version.t/run.t +++ b/test/blackbox-tests/test-cases/tests-stanza-action-syntax-version.t/run.t @@ -2,8 +2,8 @@ If there is an (action) field defined in a test stanza and dune-project sets (lang dune v) with v < 1.2, a warning is emitted: $ dune runtest - File "dune", line 3, characters 2-24: - 3 | (action (run %{test})) - ^^^^^^^^^^^^^^^^^^^^^^ + File "dune", line 3, characters 1-23: + 3 | (action (run %{test}))) + ^^^^^^^^^^^^^^^^^^^^^^ Warning: 'action' is only available since version 1.2 of the dune language. Please update your dune-project file to have (lang dune 1.2). diff --git a/test/blackbox-tests/test-cases/tests-stanza-action.t/default/dune b/test/blackbox-tests/test-cases/tests-stanza-action.t/default/dune index 6ace729f6b6..763acc4b372 100644 --- a/test/blackbox-tests/test-cases/tests-stanza-action.t/default/dune +++ b/test/blackbox-tests/test-cases/tests-stanza-action.t/default/dune @@ -1,3 +1,2 @@ (test - (name my_test) -) + (name my_test)) diff --git a/test/blackbox-tests/test-cases/tests-stanza-action.t/explicit-expect/dune b/test/blackbox-tests/test-cases/tests-stanza-action.t/explicit-expect/dune index 684d548fd52..e59a56f8069 100644 --- a/test/blackbox-tests/test-cases/tests-stanza-action.t/explicit-expect/dune +++ b/test/blackbox-tests/test-cases/tests-stanza-action.t/explicit-expect/dune @@ -1,4 +1,3 @@ (tests (names my_test) - (action (run %{test} arg1 arg2 arg3)) -) + (action (run %{test} arg1 arg2 arg3))) diff --git a/test/blackbox-tests/test-cases/tests-stanza/modes.t/dune b/test/blackbox-tests/test-cases/tests-stanza/modes.t/dune index 9137703f0ac..54b299b0a08 100644 --- a/test/blackbox-tests/test-cases/tests-stanza/modes.t/dune +++ b/test/blackbox-tests/test-cases/tests-stanza/modes.t/dune @@ -1 +1,3 @@ -(test (name modes) (modes byte native)) +(test + (name modes) + (modes byte native)) diff --git a/test/blackbox-tests/test-cases/tests-stanza/singular.t/dune b/test/blackbox-tests/test-cases/tests-stanza/singular.t/dune index c3d33d16a76..07a834b07e2 100644 --- a/test/blackbox-tests/test-cases/tests-stanza/singular.t/dune +++ b/test/blackbox-tests/test-cases/tests-stanza/singular.t/dune @@ -1 +1,2 @@ -(test (name singular)) \ No newline at end of file +(test + (name singular))