Skip to content

Commit 45cb1d3

Browse files
gaventomark-i-m
authored andcommitted
Update adding.md
Rename `must-compile-successfully` to `compile-pass` in ui test doc as per rust-lang/rust#49568.
1 parent c8cdc0b commit 45cb1d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tests/adding.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ source.
150150

151151
* `min-{gdb,lldb}-version`
152152
* `min-llvm-version`
153-
* `must-compile-successfully` for UI tests, indicates that the test is
153+
* `compile-pass` for UI tests, indicates that the test is
154154
supposed to compile, as opposed to the default where the test is
155155
supposed to error out.
156156
* `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
258258
you can even run the resulting program. Just add one of the following
259259
[header commands](#header_commands):
260260

261-
- `// must-compile-successfully` -- compilation should succeed but do
261+
- `// compile-pass` -- compilation should succeed but do
262262
not run the resulting binary
263263
- `// run-pass` -- compilation should succeed and we should run the
264264
resulting binary

0 commit comments

Comments
 (0)