Skip to content

Commit 8ca0464

Browse files
chrissimpkinsmark-i-m
authored andcommitted
add documentation of UI test error annotation substring support
1 parent 6a54bc6 commit 8ca0464

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/tests/adding.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,10 @@ source.
194194
Error annotations specify the errors that the compiler is expected to
195195
emit. They are "attached" to the line in source where the error is
196196
located. Error annotations are considered during tidy lints of line
197-
length and should be formatted according to tidy requirements.
197+
length and should be formatted according to tidy requirements. You may
198+
use an error message prefix sub-string if necessary to meet line length
199+
requirements. Make sure that the text is long enough for the error
200+
message to be self-documenting.
198201

199202
The error annotation definition and source line definition association
200203
is defined with the following set of idioms:

0 commit comments

Comments
 (0)