From 3495f39fc49ff7608d52d05a6a15d6d7d183fc56 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Tue, 17 Jan 2012 13:13:50 -0800 Subject: [PATCH] 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 --- src/cmd/go/test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/go/test.go b/src/cmd/go/test.go index 57e0469e06..fb222b139d 100644 --- a/src/cmd/go/test.go +++ b/src/cmd/go/test.go @@ -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: -- 2.48.1