From da634dd703a10bde7a923075241fcd43048d529b Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Wed, 12 Jun 2013 19:40:58 +0800 Subject: [PATCH] cmd/go: clarify test filenames in help messages Fixes #5655. R=golang-dev, r CC=golang-dev https://golang.org/cl/9944044 --- src/cmd/go/doc.go | 4 ++-- src/cmd/go/test.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cmd/go/doc.go b/src/cmd/go/doc.go index eb22fe583d..9a83a2026d 100644 --- a/src/cmd/go/doc.go +++ b/src/cmd/go/doc.go @@ -396,8 +396,8 @@ It prints a summary of the test results in the format: followed by detailed output for each failed package. -'Go test' recompiles each package along with any files with names matching -the file pattern "*_test.go". These additional files can contain test functions, +'Go test' recompiles each package along with any files with names ending in +"_test.go". These additional files can contain test functions, benchmark functions, and example functions. See 'go help testfunc' for more. Each listed package causes the execution of a separate test binary. diff --git a/src/cmd/go/test.go b/src/cmd/go/test.go index 6e77f190a6..8a115f3153 100644 --- a/src/cmd/go/test.go +++ b/src/cmd/go/test.go @@ -45,8 +45,8 @@ It prints a summary of the test results in the format: followed by detailed output for each failed package. -'Go test' recompiles each package along with any files with names matching -the file pattern "*_test.go". These additional files can contain test functions, +'Go test' recompiles each package along with any files with names ending in +"_test.go". These additional files can contain test functions, benchmark functions, and example functions. See 'go help testfunc' for more. Each listed package causes the execution of a separate test binary. -- 2.50.0