Skip to content

Commit 1d067b8

Browse files
Rageking8tshepang
authored andcommitted
add note for err annotation formatting
1 parent ffec7d7 commit 1d067b8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/tests/ui.md

+4
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,10 @@ There are several ways to match the message with the line (see the examples belo
207207
This is more convenient than using multiple carets when there are multiple
208208
messages associated with the same line.
209209

210+
The space character between `//~` (or other variants) and the subsequent text
211+
is negligible (i.e. there is no semantic difference between `//~ ERROR` and
212+
`//~ERROR` although the former is more common in the codebase).
213+
210214
### Error annotation examples
211215

212216
Here are examples of error annotations on different lines of UI test

0 commit comments

Comments
 (0)