Skip to content

Commit

Permalink
Update adding.md
Browse files Browse the repository at this point in the history
Rename `must-compile-successfully` to `compile-pass` in ui test doc as per rust-lang/rust#49568.
  • Loading branch information
gavento authored and mark-i-m committed May 10, 2018
1 parent c8cdc0b commit 45cb1d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/adding.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ source.

* `min-{gdb,lldb}-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 error out.
* `compile-flags` passes extra command-line args to the compiler,
Expand Down Expand Up @@ -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
[header commands](#header_commands):

- `// must-compile-successfully` -- compilation should succeed but do
- `// compile-pass` -- compilation should succeed but do
not run the resulting binary
- `// run-pass` -- compilation should succeed and we should run the
resulting binary
Expand Down

0 comments on commit 45cb1d3

Please sign in to comment.