1
0
mirror of https://github.com/golang/go synced 2024-11-18 05:04:47 -07:00
go/refactor/importgraph
Michael Matloob 12f59dd68b refactor/importgraph: get test to pass when run in modules mode
Use packagestest to copy the code in the test directory to a GOPATH
in a temporary directory, so the test doesn't depend on accessing
the user's GOPATH.

Change-Id: I5895ad97ab478625048fdcd330ef516df9c428d3
Reviewed-on: https://go-review.googlesource.com/c/162777
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-02-14 19:27:12 +00:00
..
graph_test.go refactor/importgraph: get test to pass when run in modules mode 2019-02-14 19:27:12 +00:00
graph.go