Skip to content

Commit 4581999

Browse files
committed
Fix directory structure verification in repository integrity test
1 parent 5af09e9 commit 4581999

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

sourcecontrol/cmd/sourcecontrol/integration_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -660,12 +660,12 @@ func TestIntegrationRepositoryIntegrity(t *testing.T) {
660660
h.Chdir()
661661
defer os.Chdir(origDir)
662662

663-
// Verify .source directory structure
663+
// Verify .git directory structure
664664
expectedDirs := []string{
665665
scpath.SourceDir,
666-
".source/objects",
667-
".source/refs",
668-
".source/refs/heads",
666+
filepath.Join(scpath.SourceDir, "objects"),
667+
filepath.Join(scpath.SourceDir, "refs"),
668+
filepath.Join(scpath.SourceDir, "refs", "heads"),
669669
}
670670

671671
for _, dir := range expectedDirs {

0 commit comments

Comments
 (0)