diff --git a/protoc-gen-go/golden_test.go b/protoc-gen-go/golden_test.go index 30d279990..891da84aa 100644 --- a/protoc-gen-go/golden_test.go +++ b/protoc-gen-go/golden_test.go @@ -41,8 +41,11 @@ func TestGolden(t *testing.T) { // contains the files for a single package. supportTypeAliases := hasReleaseTag("1.9") packages := map[string][]string{} + t.Logf("type aliases: %v", supportTypeAliases) err = filepath.Walk("testdata", func(path string, info os.FileInfo, err error) error { + t.Logf("=> %s", filepath.Base(path)) if filepath.Base(path) == "import_public" && !supportTypeAliases { + t.Logf(" skip") // Public imports require type alias support. return filepath.SkipDir }