Skip to content

Commit d39dd15

Browse files
committed
fix error in test
1 parent 04eeeb2 commit d39dd15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

get_git_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ func TestGitGetter_shallowCloneWithTag(t *testing.T) {
206206
}
207207

208208
// Verify the v1.1 file does not exists
209-
mainPath := filepath.Join(dst, "v1.1.txt")
209+
mainPath = filepath.Join(dst, "v1.1.txt")
210210
if _, err := os.Stat(mainPath); err == nil {
211211
t.Fatalf("expected v1.1 file to not exist")
212212
}

0 commit comments

Comments
 (0)