Skip to content

Commit 58a7024

Browse files
committed
test(services): add IsVendorIgnored regression tests
Tests verify that vendor/ detection from .gitignore works correctly: - Detects 'vendor' and 'vendor/' patterns - Handles comments and empty lines - Correctly returns false when .gitignore is missing - Correctly returns false when vendor is not in .gitignore Covers the fix for auto-creating vendor/ in Go worktrees when vendor/ is explicitly gitignored by the project.
1 parent 8b776b2 commit 58a7024

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/e2e/deps_bootstrap_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,3 +319,4 @@ func TestAdd_GoProject_NoDepsMessageWhenNoPM(t *testing.T) {
319319
t.Errorf("port output shown for Go project with no Docker: %s", combined)
320320
}
321321
}
322+

0 commit comments

Comments
 (0)