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

Function TestGetCommitTreeFiles_InvalidPath

vcs/git/git_tree_test.go:187–192  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

185}
186
187func TestGetCommitTreeFiles_InvalidPath(t *testing.T) {
188 _, err := GetCommitTreeFiles("/nonexistent/path", "HEAD")
189
190 assert.Error(t, err)
191 assert.Contains(t, err.Error(), "does not exist")
192}

Callers

nothing calls this directly

Calls 1

GetCommitTreeFilesFunction · 0.85

Tested by

no test coverage detected