From: Jes Cok Date: Fri, 4 Aug 2023 20:50:12 +0000 (+0000) Subject: internal/testenv: replace “go run.” with “go run”. in comments X-Git-Tag: go1.22rc1~1411 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5d5305026ec51ff3aaa6e7a7c18a815a3ac787c7;p=gostls13.git internal/testenv: replace “go run.” with “go run”. in comments Change-Id: I7d960ebeac38262c8ee39deeed9e1a2ea2803f5f GitHub-Last-Rev: 59c5d7ea76dcca5424ce79f6030196c8adbf1fd9 GitHub-Pull-Request: golang/go#61755 Reviewed-on: https://go-review.googlesource.com/c/go/+/515800 Run-TryBot: Ian Lance Taylor Reviewed-by: Dmitri Shuralyov Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor TryBot-Result: Gopher Robot --- diff --git a/src/internal/testenv/testenv.go b/src/internal/testenv/testenv.go index 31b58ddba7..5c8013740e 100644 --- a/src/internal/testenv/testenv.go +++ b/src/internal/testenv/testenv.go @@ -124,13 +124,13 @@ func MustHaveGoBuild(t testing.TB) { } } -// HasGoRun reports whether the current system can run programs with “go run.” +// HasGoRun reports whether the current system can run programs with “go run”. func HasGoRun() bool { // For now, having go run and having go build are the same. return HasGoBuild() } -// MustHaveGoRun checks that the current system can run programs with “go run.” +// MustHaveGoRun checks that the current system can run programs with “go run”. // If not, MustHaveGoRun calls t.Skip with an explanation. func MustHaveGoRun(t testing.TB) { if !HasGoRun() {