mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
docs(contrib): Note reqirement for prelude
This commit is contained in:
parent
5b9799c6f4
commit
e2e2f311aa
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user