docs(contrib): Note reqirement for prelude

This commit is contained in:
Ed Page 2024-07-12 08:28:13 -05:00
parent 5b9799c6f4
commit e2e2f311aa

View File

@ -30,6 +30,8 @@ stdout and stderr output against the expected output.
Generally, a functional test will be placed in `tests/testsuite/<command>.rs` and will look roughly like: Generally, a functional test will be placed in `tests/testsuite/<command>.rs` and will look roughly like:
```rust,ignore ```rust,ignore
use cargo_test_support::prelude::*;
#[cargo_test] #[cargo_test]
fn <description>() { fn <description>() {
let p = project() let p = project()