test headers: fix compile-flags example

This is more consistent with the other examples in this file such as a13b7c28ed/src/tests/headers.md (L196) and
This commit is contained in:
Ethan Brierley 2023-09-27 22:22:02 +01:00 committed by Tshepang Mbambo
parent fa753c1204
commit a194721b5d

View file

@ -190,7 +190,7 @@ The following headers are generally available, and not specific to particular
test suites.
* `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.
* `edition` controls the edition the test should be compiled with
(defaults to 2015). Example usage: `// edition:2018`.