test headers: fix `compile-flags` example
This is more consistent with the other examples in this file such as a13b7c28ed/src/tests/headers.md?plain=1#L196 and
This commit is contained in:
parent
090c4eae26
commit
a03082660c
|
|
@ -190,7 +190,7 @@ The following headers are generally available, and not specific to particular
|
||||||
test suites.
|
test suites.
|
||||||
|
|
||||||
* `compile-flags` passes extra command-line args to the compiler,
|
* `compile-flags` passes extra command-line args to the compiler,
|
||||||
e.g. `compile-flags -g` which forces debuginfo to be enabled.
|
e.g. `// compile-flags: -g` which forces debuginfo to be enabled.
|
||||||
* `run-flags` passes extra args to the test if the test is to be executed.
|
* `run-flags` passes extra args to the test if the test is to be executed.
|
||||||
* `edition` controls the edition the test should be compiled with
|
* `edition` controls the edition the test should be compiled with
|
||||||
(defaults to 2015). Example usage: `// edition:2018`.
|
(defaults to 2015). Example usage: `// edition:2018`.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue