Commit 851616d2 authored by Bryan C. Mills's avatar Bryan C. Mills

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: default avatarDmitri Shuralyov <dmitshur@golang.org>
parent 41b9e99d
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment