Skip to content

Commit 92395d9

Browse files
committed
Auto merge of #13236 - heisen-li:test, r=epage
Clarify the function of the test options ### What does this PR try to resolve? Make the description of test options clearer. from #10936
2 parents 84976cd + 5023f20 commit 92395d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bin/cargo/commands/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub fn cli() -> Command {
3737
"Exclude packages from the test",
3838
)
3939
.arg_targets_all(
40-
"Test only this package's library unit tests",
40+
"Test only this package's library",
4141
"Test only the specified binary",
4242
"Test all binaries",
4343
"Test only the specified example",

tests/testsuite/cargo_test/help/stdout.log

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Package Selection:
2828
--all Alias for --workspace (deprecated)
2929

3030
Target Selection:
31-
--lib Test only this package's library unit tests
31+
--lib Test only this package's library
3232
--bins Test all binaries
3333
--bin [<NAME>] Test only the specified binary
3434
--examples Test all examples

0 commit comments

Comments
 (0)