From: Martin Geisler Date: Sun, 29 Oct 2017 12:21:53 +0000 (+0100) Subject: Align command line examples in "cargo help test" X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~5^2~23^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7bfa2b170ad8c3ab4c52b2afd36f7dc4caf07460;p=cargo.git Align command line examples in "cargo help test" The initial example used an indentation of four spaces, the other examples used only two spaces. They now all use four spaces. I checked all other Cargo commands and found no other such problems. --- diff --git a/src/bin/test.rs b/src/bin/test.rs index 2208a18af..a663e0609 100644 --- a/src/bin/test.rs +++ b/src/bin/test.rs @@ -101,7 +101,7 @@ for the --jobs argument is the number of CPUs. If you want to control the number of simultaneous running test cases, pass the `--test-threads` option to the test binaries: - cargo test -- --test-threads=1 + cargo test -- --test-threads=1 Compilation can be configured via the `test` profile in the manifest. @@ -109,11 +109,11 @@ By default the rust test harness hides output from test execution to keep results readable. Test output can be recovered (e.g. for debugging) by passing `--nocapture` to the test binaries: - cargo test -- --nocapture + cargo test -- --nocapture To get the list of all options available for the test binaries use this: - cargo test -- --help + cargo test -- --help "; pub fn execute(options: Options, config: &mut Config) -> CliResult {