Skip to content

Commit ab972d9

Browse files
committed
Make test more robust
1 parent 6cf371e commit ab972d9

File tree

1 file changed

+3
-2
lines changed
  • test/extract_code/mld_extraction.t

1 file changed

+3
-2
lines changed

test/extract_code/mld_extraction.t/run.t

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,10 @@ We can output to a file
7878
let y = x + 6. (* This is a typing error *)
7979

8080

81-
Let's check line directive work:
81+
Let's check line directive work ("-color never" to make sure the error message
82+
is the same in all context):
8283

83-
$ ocaml error.ml
84+
$ ocaml -color never error.ml
8485
File "main.mld", line 26, characters 15-17:
8586
Error: This expression has type "float" but an expression was expected of type
8687
"int"

0 commit comments

Comments
 (0)