aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2019-06-21 15:03:57 -0400
committerBryan C. Mills <bcmills@google.com>2019-06-21 21:01:43 +0000
commit851616d291160325dc820378671733e46411bd56 (patch)
tree0a0e1a27ab346996df2f6c8fa96923efb10dd62b
parent41b9e99d5bfbea795a53fa260ef2c8c1cb8bdb3e (diff)
downloadgo-851616d291160325dc820378671733e46411bd56.tar.gz
go-851616d291160325dc820378671733e46411bd56.zip
cmd/go/testdata: update addmod.go to work with the mainline go command
Updates #32715 Change-Id: I4ea41d7bd1a2daeba8cebb283aaa096b6c3d4533 Reviewed-on: https://go-review.googlesource.com/c/go/+/183401 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
-rw-r--r--src/cmd/go/testdata/addmod.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/go/testdata/addmod.go b/src/cmd/go/testdata/addmod.go
index 8bb6056a54..d9c3aab9c4 100644
--- a/src/cmd/go/testdata/addmod.go
+++ b/src/cmd/go/testdata/addmod.go
@@ -29,7 +29,7 @@ import (
"path/filepath"
"strings"
- "../internal/txtar"
+ "cmd/go/internal/txtar"
)
func usage() {
@@ -44,7 +44,7 @@ func fatalf(format string, args ...interface{}) {
log.Fatalf(format, args...)
}
-const goCmd = "vgo"
+const goCmd = "go"
func main() {
flag.Usage = usage