Skip to content

Commit d418b93

Browse files
committed
Auto merge of #148073 - epage:org-frontmatter, r=jieyouxu
test(frontmatter): Rename tests to make coverage more obvious When working on the stabilization report (#148051), I found it annoying to determine what cases were covered because areas of the frontmatter feature were either not in the file name or in inconsistent locations. This moves the area of frontmatter to the start of the file name and the moves to more specific the later in the file name so coverage is easier to see. Tracking issue: #136889
2 parents ab92564 + fc5f0f7 commit d418b93

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+33
-33
lines changed
File renamed without changes.

tests/ui/frontmatter/extra-after-end.stderr renamed to tests/ui/frontmatter/fence-close-extra-after.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: extra characters after frontmatter close are not allowed
2-
--> $DIR/extra-after-end.rs:2:1
2+
--> $DIR/fence-close-extra-after.rs:2:1
33
|
44
LL | ---cargo
55
| ^^^^^^^^

tests/ui/frontmatter/frontmatter-whitespace-2.stderr renamed to tests/ui/frontmatter/fence-indented-mismatch.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
error: unclosed frontmatter
2-
--> $DIR/frontmatter-whitespace-2.rs:1:1
2+
--> $DIR/fence-indented-mismatch.rs:1:1
33
|
44
LL | / ---cargo
55
... |
66
LL | |
77
| |_^
88
|
99
note: frontmatter opening here was not closed
10-
--> $DIR/frontmatter-whitespace-2.rs:1:1
10+
--> $DIR/fence-indented-mismatch.rs:1:1
1111
|
1212
LL | ---cargo
1313
| ^^^
1414

1515
warning: use of a double negation
16-
--> $DIR/frontmatter-whitespace-2.rs:9:6
16+
--> $DIR/fence-indented-mismatch.rs:9:6
1717
|
1818
LL | ---x
1919
| ^^^

0 commit comments

Comments
 (0)