From 5023f20c4c2a8c11749d3417d9b4afa2a1dd02dd Mon Sep 17 00:00:00 2001 From: heisen-li Date: Fri, 5 Jan 2024 11:40:33 +0800 Subject: [PATCH] delete --lib unit test description --- src/bin/cargo/commands/test.rs | 10 +++++----- tests/testsuite/cargo_test/help/stdout.log | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/bin/cargo/commands/test.rs b/src/bin/cargo/commands/test.rs index 5fbf9694455..2db032212ed 100644 --- a/src/bin/cargo/commands/test.rs +++ b/src/bin/cargo/commands/test.rs @@ -37,13 +37,13 @@ pub fn cli() -> Command { "Exclude packages from the test", ) .arg_targets_all( - "Test only this package's library unit tests", - "Test only the specified binary's unit tests", - "Test all binaries's unit tests", + "Test only this package's library", + "Test only the specified binary", + "Test all binaries", "Test only the specified example", "Test all examples", - "Test only the specified target's integration tests", - "Test all test targets's integration tests and library unit tests", + "Test only the specified test target", + "Test all test targets", "Test only the specified bench target", "Test all bench targets", "Test all targets (does not include doctests)", diff --git a/tests/testsuite/cargo_test/help/stdout.log b/tests/testsuite/cargo_test/help/stdout.log index f22e69d031f..eabfd19bca1 100644 --- a/tests/testsuite/cargo_test/help/stdout.log +++ b/tests/testsuite/cargo_test/help/stdout.log @@ -28,13 +28,13 @@ Package Selection: --all Alias for --workspace (deprecated) Target Selection: - --lib Test only this package's library unit tests - --bins Test all binaries's unit tests - --bin [] Test only the specified binary's unit tests + --lib Test only this package's library + --bins Test all binaries + --bin [] Test only the specified binary --examples Test all examples --example [] Test only the specified example - --tests Test all test targets's integration tests and library unit tests - --test [] Test only the specified target's integration tests + --tests Test all test targets + --test [] Test only the specified test target --benches Test all bench targets --bench [] Test only the specified bench target --all-targets Test all targets (does not include doctests)