1
0
mirror of https://github.com/golang/go synced 2024-09-30 10:18:32 -06:00
go/refactor/eg
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
..
testdata refactor/eg: Add support for multi line after statements to eg. 2018-03-19 17:51:41 +00:00
eg_test.go all: do not write to testdata directories 2019-08-30 17:05:20 +00:00
eg.go all: fix typos in comments 2018-08-10 18:15:57 +00:00
match.go x/tools: remove old renaming imports of go/constant as exact 2018-08-10 17:04:37 +00:00
rewrite.go all: fix typos in comments 2018-08-10 18:15:57 +00:00