Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
neild committed Apr 5, 2018
1 parent 551c0f9 commit 90bee99
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions protoc-gen-go/golden_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 90bee99

Please sign in to comment.