blob: 480c8e99532416fef248cb8a9edaa2c20d3250ee [file] [log] [blame]
-- b-rename --
testy.go:
package testy
type tt int //@rename("tt", "testyType")
func b() {
foo := 42 //@rename("foo", "bar")
}
testy_test.go:
package testy
import "testing"
func TestSomething(t *testing.T) {
var x int //@rename("x", "testyX")
b() //@rename("a", "b")
}
-- testyX-rename --
package testy
import "testing"
func TestSomething(t *testing.T) {
var testyX int //@rename("x", "testyX")
a() //@rename("a", "b")
}