From fb6c8ffd22070e69b7642308d055748cda081989 Mon Sep 17 00:00:00 2001 From: Michael Matloob Date: Tue, 12 Feb 2019 13:25:49 -0500 Subject: [PATCH] go/analysis/passes/tests: add pointer to where test name conventions are specified Change-Id: Id177e04271f4549d79547b6c88a99a52058288ca Reviewed-on: https://go-review.googlesource.com/c/tools/+/162079 Run-TryBot: Michael Matloob TryBot-Result: Gobot Gobot Reviewed-by: Ian Cottrell --- go/analysis/passes/tests/tests.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/go/analysis/passes/tests/tests.go b/go/analysis/passes/tests/tests.go index 5dd06080..82322761 100644 --- a/go/analysis/passes/tests/tests.go +++ b/go/analysis/passes/tests/tests.go @@ -20,7 +20,10 @@ const Doc = `check for common mistaken usages of tests and examples The tests checker walks Test, Benchmark and Example functions checking malformed names, wrong signatures and examples documenting non-existent -identifiers.` +identifiers. + +Please see the documentation for package testing in golang.org/pkg/testing +for the conventions that are enforced for Tests, Benchmarks, and Examples.` var Analyzer = &analysis.Analyzer{ Name: "tests",