diff --git a/test/blackbox-tests/test-cases/pkg/helpers.sh b/test/blackbox-tests/test-cases/pkg/helpers.sh index 083288dea9c..6dff597b5bf 100644 --- a/test/blackbox-tests/test-cases/pkg/helpers.sh +++ b/test/blackbox-tests/test-cases/pkg/helpers.sh @@ -105,7 +105,6 @@ add_mock_repo_if_needed() { then cat >dune-workspace <dune-workspace < } $ lock - File "dune-workspace", line 7, characters X-X: - 7 | (url ..)) + File "dune-workspace", line 6, characters X-X: + 6 | (url ..)) Error: $TESTCASE_ROOT/directory-that-does-not-exist does not exist @@ -30,8 +30,8 @@ Test the error cases for invalid opam repositories $ rm dune-workspace $ add_mock_repo_if_needed "file://$(pwd)/empty" $ lock - File "dune-workspace", line 7, characters X-X: - 7 | (url ..)) + File "dune-workspace", line 6, characters X-X: + 6 | (url ..)) Error: $TESTCASE_ROOT/empty is not a directory @@ -40,8 +40,8 @@ Test the error cases for invalid opam repositories $ rm dune-workspace $ add_mock_repo_if_needed "file://$(pwd)/no-packages-dir" $ lock - File "dune-workspace", line 7, characters X-X: - 7 | (url ..)) + File "dune-workspace", line 6, characters X-X: + 6 | (url ..)) Error: $TESTCASE_ROOT/no-packages-dir doesn't look like a path to an opam repository as it lacks a subdirectory diff --git a/test/blackbox-tests/test-cases/pkg/ocamlformat/helpers.sh b/test/blackbox-tests/test-cases/pkg/ocamlformat/helpers.sh index 26718777cc1..9da80a7fe99 100644 --- a/test/blackbox-tests/test-cases/pkg/ocamlformat/helpers.sh +++ b/test/blackbox-tests/test-cases/pkg/ocamlformat/helpers.sh @@ -106,8 +106,6 @@ EOF (repository (name mock) (url "file://$(pwd)/mock-opam-repository")) - -(pkg enabled) EOF } diff --git a/test/blackbox-tests/test-cases/pkg/pkg-disabled-workflow.t b/test/blackbox-tests/test-cases/pkg/pkg-disabled-workflow.t index 0cf73f3af41..42d7cbc3a9c 100644 --- a/test/blackbox-tests/test-cases/pkg/pkg-disabled-workflow.t +++ b/test/blackbox-tests/test-cases/pkg/pkg-disabled-workflow.t @@ -75,8 +75,8 @@ Test that dune pkg enabled reports disabled: Test that pkg commands fail when disabled: $ dune pkg lock - File "dune-workspace", line 2, characters 5-13: - 2 | (pkg disabled) + File "dune-workspace", line 7, characters 5-13: + 7 | (pkg disabled) ^^^^^^^^ Error: Package management is disabled in workspace configuration. Hint: To enable package management, remove the explicit (pkg disabled)