From 9861f4f2260479dffbb6970a6d5e1d362e751521 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Wed, 31 Mar 2021 14:52:02 -0400 Subject: [PATCH] Add back example of `{{cwd}}` I force-pushed this in the last commit and accidentally deleted the github suggestion. --- src/tests/adding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/adding.md b/src/tests/adding.md index 656d0095f..8508c2f20 100644 --- a/src/tests/adding.md +++ b/src/tests/adding.md @@ -510,7 +510,7 @@ are replaced in header inputs: - {{cwd}}: The directory where compiletest is run from. This may not be the root of the checkout, so you should avoid using it where possible. - - Example: `/path/to/rust` + - Examples: `/path/to/rust`, `/path/to/build/root` - {{src-base}}: The directory where the test is defined. This is equivalent to `$DIR` for output normalization. - Example: `/path/to/rust/src/test/ui/error-codes`