From 795a88d0c383fae04242632449518a5985d50973 Mon Sep 17 00:00:00 2001 From: Justin Traglia Date: Wed, 20 Jul 2022 14:20:41 +0000 Subject: [PATCH] cmd/go: add space after comma in 'go help test' This PR fixes a simple typo. It adds a space after a comma. Noticed while looking at `go help test` output. Change-Id: I5b54f4da0d08a056bffc04899983d858dfa91043 GitHub-Last-Rev: da9cab5eb946523b8783aafe4f05f516e4a77437 GitHub-Pull-Request: golang/go#53931 Reviewed-on: https://go-review.googlesource.com/c/go/+/418034 Reviewed-by: Bryan Mills TryBot-Result: Gopher Robot Auto-Submit: Bryan Mills Run-TryBot: Bryan Mills Reviewed-by: Cherry Mui --- src/cmd/go/alldocs.go | 2 +- src/cmd/go/internal/test/test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index db6372642a..a3c1fecb91 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -1708,7 +1708,7 @@ // the package's source root (usually $GOPATH) or that consult environment // variables only match future runs in which the files and environment // variables are unchanged. A cached test result is treated as executing -// in no time at all,so a successful package test result will be cached and +// in no time at all, so a successful package test result will be cached and // reused regardless of -timeout setting. // // In addition to the build flags, the flags handled by 'go test' itself are: diff --git a/src/cmd/go/internal/test/test.go b/src/cmd/go/internal/test/test.go index 058906d9b8..aa5e41e004 100644 --- a/src/cmd/go/internal/test/test.go +++ b/src/cmd/go/internal/test/test.go @@ -132,7 +132,7 @@ test caching explicitly is to use -count=1. Tests that open files within the package's source root (usually $GOPATH) or that consult environment variables only match future runs in which the files and environment variables are unchanged. A cached test result is treated as executing -in no time at all,so a successful package test result will be cached and +in no time at all, so a successful package test result will be cached and reused regardless of -timeout setting. In addition to the build flags, the flags handled by 'go test' itself are: