Skip to content

Commit dda441c

Browse files
authored
Add back example of {{cwd}} (#1099)
I force-pushed this in the last commit and accidentally deleted the github suggestion.
1 parent a05852e commit dda441c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/adding.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ are replaced in header inputs:
510510

511511
- {{cwd}}: The directory where compiletest is run from. This may not be the
512512
root of the checkout, so you should avoid using it where possible.
513-
- Example: `/path/to/rust`
513+
- Examples: `/path/to/rust`, `/path/to/build/root`
514514
- {{src-base}}: The directory where the test is defined. This is equivalent to
515515
`$DIR` for output normalization.
516516
- Example: `/path/to/rust/src/test/ui/error-codes`

0 commit comments

Comments
 (0)