Skip to content

Commit 5023f20

Browse files
committed
delete --lib unit test description
1 parent 9cf0936 commit 5023f20

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/bin/cargo/commands/test.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ pub fn cli() -> Command {
3737
"Exclude packages from the test",
3838
)
3939
.arg_targets_all(
40-
"Test only this package's library unit tests",
41-
"Test only the specified binary's unit tests",
42-
"Test all binaries's unit tests",
40+
"Test only this package's library",
41+
"Test only the specified binary",
42+
"Test all binaries",
4343
"Test only the specified example",
4444
"Test all examples",
45-
"Test only the specified target's integration tests",
46-
"Test all test targets's integration tests and library unit tests",
45+
"Test only the specified test target",
46+
"Test all test targets",
4747
"Test only the specified bench target",
4848
"Test all bench targets",
4949
"Test all targets (does not include doctests)",

tests/testsuite/cargo_test/help/stdout.log

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ Package Selection:
2828
--all Alias for --workspace (deprecated)
2929

3030
Target Selection:
31-
--lib Test only this package's library unit tests
32-
--bins Test all binaries's unit tests
33-
--bin [<NAME>] Test only the specified binary's unit tests
31+
--lib Test only this package's library
32+
--bins Test all binaries
33+
--bin [<NAME>] Test only the specified binary
3434
--examples Test all examples
3535
--example [<NAME>] Test only the specified example
36-
--tests Test all test targets's integration tests and library unit tests
37-
--test [<NAME>] Test only the specified target's integration tests
36+
--tests Test all test targets
37+
--test [<NAME>] Test only the specified test target
3838
--benches Test all bench targets
3939
--bench [<NAME>] Test only the specified bench target
4040
--all-targets Test all targets (does not include doctests)

0 commit comments

Comments
 (0)