Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201028153306-37f0764111ff / internal / lsp / testdata / rename / testy / testy_test.go.golden
1 -- b-rename --
2 testy.go:
3 package testy
4
5 type tt int //@rename("tt", "testyType")
6
7 func b() {
8         foo := 42 //@rename("foo", "bar")
9 }
10
11 testy_test.go:
12 package testy
13
14 import "testing"
15
16 func TestSomething(t *testing.T) {
17         var x int //@rename("x", "testyX")
18         b()       //@rename("a", "b")
19 }
20
21 -- testyX-rename --
22 package testy
23
24 import "testing"
25
26 func TestSomething(t *testing.T) {
27         var testyX int //@rename("x", "testyX")
28         a()       //@rename("a", "b")
29 }
30