Update adding.md

Rename `must-compile-successfully` to `compile-pass` in ui test doc as per https://github.com/rust-lang/rust/issues/49568.
This commit is contained in:
Tomáš Gavenčiak 2018-05-03 00:25:31 +02:00 committed by Who? Me?!
parent 4fdc1b39fa
commit b0ac5ffedc
1 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@ source.
* `min-{gdb,lldb}-version` * `min-{gdb,lldb}-version`
* `min-llvm-version` * `min-llvm-version`
* `must-compile-successfully` for UI tests, indicates that the test is * `compile-pass` for UI tests, indicates that the test is
supposed to compile, as opposed to the default where the test is supposed to compile, as opposed to the default where the test is
supposed to error out. supposed to error out.
* `compile-flags` passes extra command-line args to the compiler, * `compile-flags` passes extra command-line args to the compiler,
@ -258,7 +258,7 @@ can also make UI tests where compilation is expected to succeed, and
you can even run the resulting program. Just add one of the following you can even run the resulting program. Just add one of the following
[header commands](#header_commands): [header commands](#header_commands):
- `// must-compile-successfully` -- compilation should succeed but do - `// compile-pass` -- compilation should succeed but do
not run the resulting binary not run the resulting binary
- `// run-pass` -- compilation should succeed and we should run the - `// run-pass` -- compilation should succeed and we should run the
resulting binary resulting binary