From c51889c1571c90580d5e7c1b7124e7dd9a4dbe26 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 14 Feb 2016 18:44:08 +0100 Subject: [PATCH] Ignore vendor/ directory for gofmt tests --- run_integration_tests.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_integration_tests.go b/run_integration_tests.go index e17f6c12f..e9ab7cda2 100644 --- a/run_integration_tests.go +++ b/run_integration_tests.go @@ -212,7 +212,7 @@ func (env *AppveyorEnvironment) RunTests() { // findGoFiles returns a list of go source code file names below dir. func findGoFiles(dir string) (list []string, err error) { err = filepath.Walk(dir, func(name string, fi os.FileInfo, err error) error { - if filepath.Base(name) == "Godeps" { + if filepath.Base(name) == "vendor" { return filepath.SkipDir }