diff --git a/src/bin/cargo/commands/test.rs b/src/bin/cargo/commands/test.rs index 6e8aff0435e..2db032212ed 100644 --- a/src/bin/cargo/commands/test.rs +++ b/src/bin/cargo/commands/test.rs @@ -37,7 +37,7 @@ pub fn cli() -> Command { "Exclude packages from the test", ) .arg_targets_all( - "Test only this package's library unit tests", + "Test only this package's library", "Test only the specified binary", "Test all binaries", "Test only the specified example", diff --git a/tests/testsuite/cargo_test/help/stdout.log b/tests/testsuite/cargo_test/help/stdout.log index d7ec18f46bc..eabfd19bca1 100644 --- a/tests/testsuite/cargo_test/help/stdout.log +++ b/tests/testsuite/cargo_test/help/stdout.log @@ -28,7 +28,7 @@ Package Selection: --all Alias for --workspace (deprecated) Target Selection: - --lib Test only this package's library unit tests + --lib Test only this package's library --bins Test all binaries --bin [] Test only the specified binary --examples Test all examples