1
0
mirror of https://github.com/golang/go synced 2024-11-24 19:40:09 -07:00

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>
This commit is contained in:
Bryan C. Mills 2019-06-21 15:03:57 -04:00
parent 41b9e99d5b
commit 851616d291

View File

@ -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