MCPcopy Create free account
hub / github.com/LegacyCodeHQ/clarity-cli / TestIsGitRepository_Invalid

Function TestIsGitRepository_Invalid

vcs/git/git_test.go:22–29  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

20}
21
22func TestIsGitRepository_Invalid(t *testing.T) {
23 tmpDir := t.TempDir()
24 // Don't initialize git
25
26 isRepo := isGitRepository(tmpDir)
27
28 assert.False(t, isRepo)
29}
30
31func TestFilterDartFiles(t *testing.T) {
32 files := []string{

Callers

nothing calls this directly

Calls 1

isGitRepositoryFunction · 0.85

Tested by

no test coverage detected