Skip to content

Commit

Permalink
Auto merge of #13236 - heisen-li:test, r=epage
Browse files Browse the repository at this point in the history
Clarify the function of the test options

### What does this PR try to resolve?

Make the description of test options clearer.

from #10936
  • Loading branch information
bors committed Jan 12, 2024
2 parents 84976cd + 5023f20 commit 92395d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bin/cargo/commands/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion tests/testsuite/cargo_test/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -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 [<NAME>] Test only the specified binary
--examples Test all examples
Expand Down

0 comments on commit 92395d9

Please sign in to comment.