]> git.lizzy.rs Git - rust.git/blobdiff - COMPILER_TESTS.md
Rollup merge of #37224 - petrochenkov:nz, r=eddyb
[rust.git] / COMPILER_TESTS.md
index 9b63fe3fba322903c33e0bac9e960c03b8a0376b..91975c1f9ed9a312f978dcb4478d6b2f977c4efb 100644 (file)
@@ -42,9 +42,9 @@ whole, instead of just a few lines inside the test.
 * `ignore-test` always ignores the test
 * `ignore-lldb` and `ignore-gdb` will skip the debuginfo tests
 * `min-{gdb,lldb}-version`
-* `should-panic` indicates that the test should fail; used for "meta testing",
+* `should-fail` indicates that the test should fail; used for "meta testing",
   where we test the compiletest program itself to check that it will generate
-  errors in appropriate scenarios
+  errors in appropriate scenarios. This header is ignored for pretty-printer tests.
 
 ## Revisions
 
@@ -77,7 +77,7 @@ fn test_foo() {
 }
 ```
 
-Note that not all headers have meaning when customized too a revision.
+Note that not all headers have meaning when customized to a revision.
 For example, the `ignore-test` header (and all "ignore" headers)
 currently only apply to the test as a whole, not to particular
 revisions. The only headers that are intended to really work when