mirror of
https://github.com/golang/go
synced 2024-11-12 08:50:22 -07:00
cmd/go: remove mentions of 'gotest' from the documentation
go test runs the tests itself; it does not run the gotest command, so these mentions are confusing. R=golang-dev, n13m3y3r CC=golang-dev https://golang.org/cl/5551043
This commit is contained in:
parent
4c40558c74
commit
3495f39fc4
@ -45,7 +45,7 @@ followed by detailed output for each failed package.
|
||||
the file pattern "*_test.go". These additional files can contain test functions,
|
||||
benchmark functions, and example functions. See 'go help testfunc' for more.
|
||||
|
||||
By default, gotest needs no arguments. It compiles and tests the package
|
||||
By default, go test needs no arguments. It compiles and tests the package
|
||||
with source in the current directory, including tests, and runs the tests.
|
||||
If file names are given (with flag -file=test.go, one per extra test source file),
|
||||
only those test files are added to the package. (The non-test files are always
|
||||
@ -82,7 +82,7 @@ The flags handled by 'go test' are:
|
||||
Compile and test up to n packages in parallel.
|
||||
The default value is the number of CPUs available.
|
||||
|
||||
-x Print each subcommand gotest executes.
|
||||
-x Print each subcommand go test executes.
|
||||
|
||||
The resulting test binary, called test.out, has its own flags:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user