MCPcopy Create free account
hub / github.com/driangle/taskmd / TestCollectArchivedIDs_NoArchive

Function TestCollectArchivedIDs_NoArchive

apps/cli/internal/cli/validate_test.go:633–642  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

631}
632
633func TestCollectArchivedIDs_NoArchive(t *testing.T) {
634 tmpDir := t.TempDir()
635
636 s := scanner.NewScanner(tmpDir, false, nil)
637 ids := collectArchivedIDs(s)
638
639 if ids != nil {
640 t.Errorf("expected nil for no archive, got %v", ids)
641 }
642}
643
644func TestRunValidate_WithConfig_Scopes(t *testing.T) {
645 tmpDir := t.TempDir()

Callers

nothing calls this directly

Calls 1

collectArchivedIDsFunction · 0.85

Tested by

no test coverage detected