diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/presubmit_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/presubmit_test.go b/test/presubmit_test.go index 903661ba0..b94beb31b 100644 --- a/test/presubmit_test.go +++ b/test/presubmit_test.go @@ -250,6 +250,10 @@ func (w *testImportOrderingWalker) walk(path string, info os.FileInfo, _ error) if filepath.Ext(path) != ".go" { return nil } + // pb files are autogenerated by protoc + if strings.HasPrefix(path, "../pb/") { + return nil + } fs := token.NewFileSet() f, err := parser.ParseFile(fs, path, nil, parser.AllErrors) |