Ed Page 57c97cc190 test(script): Switch frontmatter tests to end-to-end
This will make it easier to validate error improvements I'm working on
as well as make it easier to update from rust-lang/rust
2025-08-29 16:11:59 -05:00

478 B

Canonical home for these tests is https://github.com/rust-lang/rust/tree/master/tests/ui/frontmatter

To update

  1. Sync changes to this directory
  2. Run SNAPSHOTS=overwrite cargo test --test testsuite -- script::rustc to register new test cases
  3. Run SNAPSHOTS=overwrite cargo test --test testsuite -- script::rustc to update snapshots for new test cases

Note:

  • A .stderr file is assumed that the test fill fail
  • A .stdout file is assumed that the test fill succeed