about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-12-20 02:15:06 +0000
committerbors <bors@rust-lang.org>2015-12-20 02:15:06 +0000
commitf23157b693234e9a86f85b224bec91ee23958384 (patch)
treee62989f8810efc1f2bfd2db564d0fee643fe9181
parentabf60b20aa0edcae6d206905b1a1129e86dc60b3 (diff)
parent15b41528c79a582d90a90893b0bb933b0d9d7c23 (diff)
downloadrust-f23157b693234e9a86f85b224bec91ee23958384.tar.gz
rust-f23157b693234e9a86f85b224bec91ee23958384.zip
Auto merge of #30436 - durka:patch-14, r=alexcrichton
Relevant to #30422.
-rw-r--r--src/libtest/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs
index 365f67e5616..d1bf9090944 100644
--- a/src/libtest/lib.rs
+++ b/src/libtest/lib.rs
@@ -326,8 +326,8 @@ fn usage(binary: &str) {
     let message = format!("Usage: {} [OPTIONS] [FILTER]", binary);
     println!(r#"{usage}
 
-The FILTER regex is tested against the name of all tests to run, and
-only those tests that match are run.
+The FILTER string is tested against the name of all tests, and only those
+tests whose names contain the filter are run.
 
 By default, all tests are run in parallel. This can be altered with the
 RUST_TEST_THREADS environment variable when running tests (set it to 1).