Skip to content

Commit e2e2f31

Browse files
committed
docs(contrib): Note reqirement for prelude
1 parent 5b9799c commit e2e2f31

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/doc/contrib/src/tests/writing.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ stdout and stderr output against the expected output.
3030

3131
Generally, a functional test will be placed in `tests/testsuite/<command>.rs` and will look roughly like:
3232
```rust,ignore
33+
use cargo_test_support::prelude::*;
34+
3335
#[cargo_test]
3436
fn <description>() {
3537
let p = project()

0 commit comments

Comments
 (0)