tree: 56cbfc9eb0c4323670d4f26574d1b1895a3c6436 [path history] [tgz]
  1. auxiliary/
  2. content-contains-whitespace.rs
  3. content-contains-whitespace.stderr
  4. content-non-lexible-tokens.rs
  5. content-non-lexible-tokens.stdout
  6. escape-hyphens-leading.rs
  7. escape-hyphens-leading.stdout
  8. escape-hyphens-nonleading-1.rs
  9. escape-hyphens-nonleading-1.stdout
  10. escape-hyphens-nonleading-2.rs
  11. escape-hyphens-nonleading-2.stdout
  12. escape-hyphens-nonleading-3.rs
  13. escape-hyphens-nonleading-3.stdout
  14. fence-close-extra-after.rs
  15. fence-close-extra-after.stderr
  16. fence-indented-mismatch.rs
  17. fence-indented-mismatch.stderr
  18. fence-indented.rs
  19. fence-indented.stdout
  20. fence-mismatch-1.rs
  21. fence-mismatch-1.stderr
  22. fence-mismatch-2.rs
  23. fence-mismatch-2.stderr
  24. fence-too-many-dashes.rs
  25. fence-too-many-dashes.stderr
  26. fence-unclosed-1.rs
  27. fence-unclosed-1.stderr
  28. fence-unclosed-2.rs
  29. fence-unclosed-2.stderr
  30. fence-unclosed-3.rs
  31. fence-unclosed-3.stderr
  32. fence-unclosed-4.rs
  33. fence-unclosed-4.stderr
  34. fence-unclosed-5.rs
  35. fence-unclosed-5.stderr
  36. fence-unclosed-6.rs
  37. fence-unclosed-6.stderr
  38. fence-whitespace-trailing-1.rs
  39. fence-whitespace-trailing-1.stdout
  40. fence-whitespace-trailing-2.rs
  41. fence-whitespace-trailing-2.stdout
  42. frontmatter-crlf.rs
  43. frontmatter-crlf.stdout
  44. infostring-comma.rs
  45. infostring-comma.stderr
  46. infostring-dot-leading.rs
  47. infostring-dot-leading.stderr
  48. infostring-dot-nonleading.rs
  49. infostring-dot-nonleading.stderr
  50. infostring-hyphen-leading.rs
  51. infostring-hyphen-leading.stderr
  52. infostring-hyphen-nonleading.rs
  53. infostring-hyphen-nonleading.stderr
  54. infostring-space.rs
  55. infostring-space.stderr
  56. location-after-shebang.rs
  57. location-after-shebang.stdout
  58. location-after-tokens.rs
  59. location-after-tokens.stdout
  60. location-include-in-expr-ctxt.rs
  61. location-include-in-expr-ctxt.stdout
  62. location-include-in-item-ctxt.rs
  63. location-include-in-item-ctxt.stdout
  64. location-proc-macro-observer.rs
  65. location-proc-macro-observer.stdout
  66. multifrontmatter.rs
  67. multifrontmatter.stderr
  68. README.md
tests/testsuite/script/rustc_fixtures/README.md

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