]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go/testdata: update addmod.go to work with the mainline go command
authorBryan C. Mills <bcmills@google.com>
Fri, 21 Jun 2019 19:03:57 +0000 (15:03 -0400)
committerBryan C. Mills <bcmills@google.com>
Fri, 21 Jun 2019 21:01:43 +0000 (21:01 +0000)
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>
src/cmd/go/testdata/addmod.go

index 8bb6056a540ae24850eb74f557fd56c5ac2ffdac..d9c3aab9c49630306a61607398f21b451283b39c 100644 (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