about summary refs log tree commit diff
path: root/src/libtest
diff options
context:
space:
mode:
authorAlex Burka <durka42+github@gmail.com>2015-12-17 11:26:58 -0500
committerAlex Burka <durka42+github@gmail.com>2015-12-17 11:26:58 -0500
commit15b41528c79a582d90a90893b0bb933b0d9d7c23 (patch)
tree3cd8023e36bb6f177d43444398225dc77b81f8e1 /src/libtest
parent4af427881405f95b8d87efea844cbd695fb55986 (diff)
downloadrust-15b41528c79a582d90a90893b0bb933b0d9d7c23.tar.gz
rust-15b41528c79a582d90a90893b0bb933b0d9d7c23.zip
libtest: change CLI usage string to be true
Relevant to #30422.
Diffstat (limited to 'src/libtest')
-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 7ffe567ac83..9f317fceb07 100644
--- a/src/libtest/lib.rs
+++ b/src/libtest/lib.rs
@@ -328,8 +328,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).