Skip to content
Permalink
Browse files

cmd/go: fix TestModSyncPrintJson test

Change-Id: I043150aac08014f6e68c4b4d75d8f9cb59b458ca
Reviewed-on: https://go-review.googlesource.com/121880
Run-TryBot: Baokun Lee <nototon@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
  • Loading branch information...
oiooj authored and rsc committed Jul 1, 2018
1 parent 6cd5a41 commit 8a71b2bd9c54c265c37322f928113c849582486b
Showing with 1 addition and 1 deletion.
  1. +1 −1 vendor/cmd/go/vgo_test.go
@@ -841,7 +841,7 @@ func TestModSyncPrintJson(t *testing.T) {
package x
import "github.com/gorilla/mux"
func main() {
_ := mux.NewRouter()
_ = mux.NewRouter()
}`), 0666))
tg.must(ioutil.WriteFile(tg.path("x/go.mod"), []byte("module x"), 0666))
tg.cd(tg.path("x"))

0 comments on commit 8a71b2b

Please sign in to comment.
You can’t perform that action at this time.