From 574deb73babed08daa0a5e63f44b363282535254 Mon Sep 17 00:00:00 2001 From: Adam Crume Date: Mon, 24 Aug 2015 21:53:02 -0700 Subject: [PATCH] book: Mention that --ignored is a test binary argument --- src/doc/trpl/testing.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/doc/trpl/testing.md b/src/doc/trpl/testing.md index 2911cf60375f..78803afd5c1a 100644 --- a/src/doc/trpl/testing.md +++ b/src/doc/trpl/testing.md @@ -276,6 +276,9 @@ running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured ``` +The `--ignored` argument is an argument to the test binary, and not to cargo, +which is why the command is `cargo test -- --ignored`. + # The `tests` module There is one way in which our existing example is not idiomatic: it's