Skip to content

Commit 7593468

Browse files
committed
chore: error on conflict markers
We enable conflict marker detection so that it errors. This is useful when rebasing and testing with a conflict so that we don't accidentally run a cram test with conflict markers. Signed-off-by: Ali Caglayan <[email protected]>
1 parent 8570d6c commit 7593468

File tree

1 file changed

+5
-3
lines changed
  • test/blackbox-tests/test-cases

1 file changed

+5
-3
lines changed

test/blackbox-tests/test-cases/dune

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
(env-vars
44
(DUNE_CONFIG__BACKGROUND_SANDBOXES disabled)
55
(DUNE_CONFIG__BACKGROUND_DIGESTS disabled)
6-
; We set ocaml to always be colored since it changes the output of
7-
; ocamlc error messages. See https://github.com/ocaml/ocaml/issues/14144
6+
;; We set ocaml to always be colored since it changes the output of
7+
;; ocamlc error messages. See https://github.com/ocaml/ocaml/issues/14144
88
(OCAML_COLOR always))
99
(binaries
1010
../utils/dune_cmd.exe
@@ -25,7 +25,9 @@
2525
(env_var OCAML_COLOR)
2626
%{bin:dune_cmd}
2727
(package dune))
28-
; Tests shouldn't take longer than 60s
28+
;; We don't allow conflict markers in tests
29+
(conflict error)
30+
;; Tests shouldn't take longer than 60s
2931
(timeout 60))
3032

3133
(cram

0 commit comments

Comments
 (0)