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

Function TestGetCommitDartFiles_InvalidPath

vcs/git/git_diff_test.go:452–457  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

450}
451
452func TestGetCommitDartFiles_InvalidPath(t *testing.T) {
453 _, err := GetCommitDartFiles("/nonexistent/path", "HEAD")
454
455 assert.Error(t, err)
456 assert.Contains(t, err.Error(), "does not exist")
457}
458
459// Tests for GetFileContentFromCommit
460

Callers

nothing calls this directly

Calls 1

GetCommitDartFilesFunction · 0.85

Tested by

no test coverage detected