Skip to content

Commit daf2f3c

Browse files
authored
Document that test names cannot contain dots (rust-lang#1927)
1 parent d34c4d1 commit daf2f3c

File tree

1 file changed

+3
-0
lines changed
  • src/doc/rustc-dev-guide/src/tests

1 file changed

+3
-0
lines changed

src/doc/rustc-dev-guide/src/tests/ui.md

+3
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ The general form is:
6464

6565
*test-name*`.`*revision*`.`*compare_mode*`.`*extension*
6666

67+
* *test-name* cannot contain dots. This is so that the general form of test
68+
output filenames have a predictable form we can pattern match on in order to
69+
track stray test output files.
6770
* *revision* is the [revision](#cfg-revisions) name.
6871
This is not included when not using revisions.
6972
* *compare_mode* is the [compare mode](#compare-modes).

0 commit comments

Comments
 (0)