Skip to content

Commit bfb41b8

Browse files
committed
fix: blackbox-tests on 5.4
Signed-off-by: Antonio Nuno Monteiro <[email protected]>
1 parent a2268c9 commit bfb41b8

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

test/blackbox-tests/test-cases/dune-warnings.t

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,5 @@ Warnings are still fatal in dev mode.
8484
1 | let f = function 0 -> 1
8585
^^^^^^^^^^^^^^^
8686
Error (warning 8 [partial-match]): this pattern-matching is not exhaustive.
87-
Here is an example of a case that is not matched:
88-
1
87+
Here is an example of a case that is not matched: 1
8988
[1]

test/blackbox-tests/test-cases/melange/flags.t

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ Trying to build triggers both warnings
4444
1 | let t = "\e\n" in
4545
^^
4646
Error (warning 14 [illegal-backslash]): illegal backslash escape in string.
47-
Hint: Single backslashes \ are reserved for escape sequences
48-
(\n, \r, ...). Did you check the list of OCaml escape sequences?
49-
To get a backslash character, escape it with a second backslash: \\.
47+
Hint: Single backslashes \ are reserved for escape sequences (\n, \r, ...).
48+
Did you check the list of OCaml escape sequences?
49+
To get a backslash character, escape it with a second backslash: \\.
5050
File "main.ml", line 1, characters 4-5:
5151
1 | let t = "\e\n" in
5252
^
@@ -83,9 +83,9 @@ Can also pass flags from the env stanza. Let's go back to failing state:
8383
1 | let t = "\e\n" in
8484
^^
8585
Error (warning 14 [illegal-backslash]): illegal backslash escape in string.
86-
Hint: Single backslashes \ are reserved for escape sequences
87-
(\n, \r, ...). Did you check the list of OCaml escape sequences?
88-
To get a backslash character, escape it with a second backslash: \\.
86+
Hint: Single backslashes \ are reserved for escape sequences (\n, \r, ...).
87+
Did you check the list of OCaml escape sequences?
88+
To get a backslash character, escape it with a second backslash: \\.
8989
File "main.ml", line 1, characters 4-5:
9090
1 | let t = "\e\n" in
9191
^

0 commit comments

Comments
 (0)