#156 Exclude testdata directories from being checked

This commit is contained in:
Bradley Falzon
2016-09-25 19:25:03 +09:30
parent a16b0104fa
commit 1bd6acac27
2 changed files with 2 additions and 1 deletions

1
check/testfiles/testdata/a.go vendored Normal file
View File

@@ -0,0 +1 @@
package testdata

View File

@@ -16,7 +16,7 @@ import (
)
var (
skipDirs = []string{"Godeps", "vendor", "third_party"}
skipDirs = []string{"Godeps", "vendor", "third_party", "testdata"}
skipSuffixes = []string{".pb.go", ".pb.gw.go", ".generated.go", "bindata.go", "_string.go"}
skipFirstLines = []string{"code generated", "generated", "autogenerated", "@generated", "code autogenerated", "auto-generated"}
)