1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:14:46 -07:00
go/refactor
Bryan C. Mills df13fa7beb all: do not write to testdata directories
I got tired of spurious 'git' diffs while a 'go test' was running, so
I fixed the test that produced the diffs. (We need to do that anyway
in order to run them in the module cache, plus it's just good hygiene
not to have tests interfering with each other's sources.)

Tested using:

	$ chmod -R ugo-w . && go test ./...; chmod -R u+w .

Updates golang/go#28387

Change-Id: Ie17e31aecf0e3cb022df5503d7c443000366a5c6
Reviewed-on: https://go-review.googlesource.com/c/tools/+/192577
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-08-30 17:05:20 +00:00
..
eg all: do not write to testdata directories 2019-08-30 17:05:20 +00:00
importgraph refactor/importgraph: get test to pass when run in modules mode 2019-02-14 19:27:12 +00:00
rename all: do not write to testdata directories 2019-08-30 17:05:20 +00:00
satisfy refactor/...: remove go1.8-tagged files 2016-11-04 21:29:48 +00:00
README go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00

golang.org/x/tools/refactor: libraries for refactoring tools.