1
0
mirror of https://github.com/golang/go synced 2024-11-19 14:24:47 -07:00
go/internal/lsp/testdata/rename/testy/testy.go.golden
Suzy Mueller 7b25e351ac internal/lsp: rename identifiers in test packages
Support renaming of identifiers in test packages. The packages for
all of the references must be checked and the changes need to be
deduped, since both a package and its test package contain some of the
same files.

Fixes golang/go#32974

Change-Id: Ie51e19716faae77ce7e5254eeb3956faa42c2a09
Reviewed-on: https://go-review.googlesource.com/c/tools/+/185277
Run-TryBot: Suzy Mueller <suzmue@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-07-09 21:17:00 +00:00

10 lines
111 B
Plaintext

-- testyType-rename --
testy.go:
package testy
type testyType int //@rename("tt", "testyType")
func a() {
}