]> Cypherpunks repositories - gostls13.git/commitdiff
internal/testenv: replace “go run.” with “go run”. in comments
authorJes Cok <xigua67damn@gmail.com>
Fri, 4 Aug 2023 20:50:12 +0000 (20:50 +0000)
committerGopher Robot <gobot@golang.org>
Sat, 5 Aug 2023 03:02:32 +0000 (03:02 +0000)
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 <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>

src/internal/testenv/testenv.go

index 31b58ddba7ef7adf10a959cb7ffe0cf2637f1608..5c8013740e584aadd1bd7659aa03b7337bc0f2d6 100644 (file)
@@ -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() {