Skip to content

Commit 7c4e67c

Browse files
authored
test(script): Switch frontmatter tests to end-to-end (#15899)
### What does this PR try to resolve? For frontmatter parser, we almost exclusively use unit tests. This switches the rustc ui tests we've copied over to being cargo ui tests but in a way that makes it relatively easy to diff against rustc and see the state of the two and makes it easier to update. This will help as I work to improve the errors reported by cargo to align with rustc in quality As part of this, I made the source file auto-updating whenever new tests get copied over. ### How to test and review this PR? ### Notes Note: the tests are a little ahead of rustc atm, being pulled from one of my branches that I've not yet pushed because its blocked on another PR
2 parents 5e435ef + 57c97cc commit 7c4e67c

File tree

65 files changed

+1369
-583
lines changed

Some content is hidden

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

65 files changed

+1369
-583
lines changed

src/cargo/util/toml/embedded.rs

Lines changed: 0 additions & 583 deletions
Large diffs are not rendered by default.
File renamed without changes.

tests/testsuite/script/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
mod cargo;
2+
mod rustc;

0 commit comments

Comments
 (0)