Skip to content

Commit

Permalink
cmd/go/testdata: update addmod.go to work with the mainline go command
Browse files Browse the repository at this point in the history
Updates #32715

Change-Id: I4ea41d7bd1a2daeba8cebb283aaa096b6c3d4533
Reviewed-on: https://go-review.googlesource.com/c/go/+/183401
Run-TryBot: Bryan C. Mills <[email protected]>
TryBot-Result: Gobot Gobot <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
  • Loading branch information
Bryan C. Mills committed Jun 21, 2019
1 parent 41b9e99 commit 851616d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmd/go/testdata/addmod.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"path/filepath"
"strings"

"../internal/txtar"
"cmd/go/internal/txtar"
)

func usage() {
Expand All @@ -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
Expand Down

0 comments on commit 851616d

Please sign in to comment.