Skip to content

Commit 574deb7

Browse files
committed
book: Mention that --ignored is a test binary argument
1 parent f56a478 commit 574deb7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/doc/trpl/testing.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,9 @@ running 0 tests
276276
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured
277277
```
278278

279+
The `--ignored` argument is an argument to the test binary, and not to cargo,
280+
which is why the command is `cargo test -- --ignored`.
281+
279282
# The `tests` module
280283

281284
There is one way in which our existing example is not idiomatic: it's

0 commit comments

Comments
 (0)