diff options
author | Russ Cox <rsc@golang.org> | 2017-02-03 13:29:06 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2017-02-03 20:32:36 +0000 |
commit | 178307c3a72a9da3d731fecf354630761d6b246c (patch) | |
tree | f609872bd90d2808d1c06e3c629f85fb1b4da94b /src/cmd/go/internal/run/run.go | |
parent | 707cadd7fa1c8653a7b3409be4dc79823c45306c (diff) | |
download | go-178307c3a72a9da3d731fecf354630761d6b246c.tar.gz go-178307c3a72a9da3d731fecf354630761d6b246c.zip |
cmd/go: address review comments
Address review comments from earlier CLs.
These are changes I was too scared to try to push
down into the original CLs (thanks, Git).
Change-Id: I0e428fad73d71bd2a7d08178cf2e856de3cef19f
Reviewed-on: https://go-review.googlesource.com/36257
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Diffstat (limited to 'src/cmd/go/internal/run/run.go')
-rw-r--r-- | src/cmd/go/internal/run/run.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/go/internal/run/run.go b/src/cmd/go/internal/run/run.go index edd3ddd843..980e160fee 100644 --- a/src/cmd/go/internal/run/run.go +++ b/src/cmd/go/internal/run/run.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// Package run implements the ``go run'' command. package run import ( @@ -66,7 +67,7 @@ func runRun(cmd *base.Command, args []string) { } for _, file := range files { if strings.HasSuffix(file, "_test.go") { - // goFilesPackage is going to assign this to TestGoFiles. + // GoFilesPackage is going to assign this to TestGoFiles. // Reject since it won't be part of the build. base.Fatalf("go run: cannot run *_test.go files (%s)", file) } |