Skip to content

Commit

Permalink
docs(contrib): Note reqirement for prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Jul 12, 2024
1 parent 3377f91 commit f047555
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/doc/contrib/src/tests/writing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
```rust,ignore
use cargo_test_support::prelude::*;
#[cargo_test]
fn <description>() {
let p = project()
Expand Down

0 comments on commit f047555

Please sign in to comment.