Skip to content

Commit 15b4152

Browse files
committed
libtest: change CLI usage string to be true
Relevant to #30422.
1 parent 4af4278 commit 15b4152

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libtest/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,8 @@ fn usage(binary: &str) {
328328
let message = format!("Usage: {} [OPTIONS] [FILTER]", binary);
329329
println!(r#"{usage}
330330
331-
The FILTER regex is tested against the name of all tests to run, and
332-
only those tests that match are run.
331+
The FILTER string is tested against the name of all tests, and only those
332+
tests whose names contain the filter are run.
333333
334334
By default, all tests are run in parallel. This can be altered with the
335335
RUST_TEST_THREADS environment variable when running tests (set it to 1).

0 commit comments

Comments
 (0)