From 9ff81b74b201ca032fd373424aa02a3fedaec008 Mon Sep 17 00:00:00 2001 From: Andrey Bozhko Date: Tue, 20 Dec 2022 02:16:18 +0000 Subject: [PATCH] testing: rephrase the sentence about naming test files This updates the explanation about naming test files to be a little more clear. Fixes #57389 --- src/testing/testing.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/testing/testing.go b/src/testing/testing.go index acd28667c2..fc34cbf28b 100644 --- a/src/testing/testing.go +++ b/src/testing/testing.go @@ -13,8 +13,9 @@ // // Within these functions, use the Error, Fail or related methods to signal failure. // -// To write a new test suite, create a file whose name ends _test.go that -// contains the TestXxx functions as described here. +// To write a new test suite, create a file that +// contains the TestXxx functions as described here, +// and give that file a name ending in "_test.go". // The file will be excluded from regular // package builds but will be included when the "go test" command is run. //