Skip to content

Commit

Permalink
delete --lib unit test description
Browse files Browse the repository at this point in the history
  • Loading branch information
heisen-li committed Jan 5, 2024
1 parent 9cf0936 commit 5023f20
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/bin/cargo/commands/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down
10 changes: 5 additions & 5 deletions tests/testsuite/cargo_test/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -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 [<NAME>] Test only the specified binary's unit tests
--lib Test only this package's library
--bins Test all binaries
--bin [<NAME>] Test only the specified binary
--examples Test all examples
--example [<NAME>] Test only the specified example
--tests Test all test targets's integration tests and library unit tests
--test [<NAME>] Test only the specified target's integration tests
--tests Test all test targets
--test [<NAME>] Test only the specified test target
--benches Test all bench targets
--bench [<NAME>] Test only the specified bench target
--all-targets Test all targets (does not include doctests)
Expand Down

0 comments on commit 5023f20

Please sign in to comment.