Skip to content

Commit

Permalink
Add back example of {{cwd}} (#1099)
Browse files Browse the repository at this point in the history
I force-pushed this in the last commit and accidentally deleted the
github suggestion.
  • Loading branch information
jyn514 authored Mar 31, 2021
1 parent a05852e commit dda441c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/adding.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit dda441c

Please sign in to comment.