diff options
Diffstat (limited to 'internal/gopathwalk/walk_test.go')
-rw-r--r-- | internal/gopathwalk/walk_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/gopathwalk/walk_test.go b/internal/gopathwalk/walk_test.go index 2d887a655..fa4ebdc32 100644 --- a/internal/gopathwalk/walk_test.go +++ b/internal/gopathwalk/walk_test.go @@ -81,7 +81,7 @@ func TestShouldTraverse(t *testing.T) { continue } var w walker - got := w.shouldTraverse(filepath.Join(dir, tt.dir), fi) + got := w.shouldTraverse(filepath.Join(dir, tt.dir, fi.Name())) if got != tt.want { t.Errorf("%d. shouldTraverse(%q, %q) = %v; want %v", i, tt.dir, tt.file, got, tt.want) } |