1
0
mirror of https://github.com/golang/go synced 2024-11-05 20:06:10 -07:00
go/refactor/rename
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
..
check.go refactor/...: remove go1.8-tagged files 2016-11-04 21:29:48 +00:00
mvpkg_test.go refactor/rename: re-enable TestMoves on Windows 2019-02-12 21:30:38 +00:00
mvpkg.go refactor/rename: re-enable TestMoves on Windows 2019-02-12 21:30:38 +00:00
rename_test.go all: do not write to testdata directories 2019-08-30 17:05:20 +00:00
rename.go refactor/rename: remove extraneous space 2019-06-24 15:07:48 +00:00
spec.go refactor/rename: fail cleanly when attempting to rename cgo files 2017-06-23 01:23:57 +00:00
util.go refactor/...: remove go1.8-tagged files 2016-11-04 21:29:48 +00:00