MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / TestManagerClearWorktreeInfoNotFound

Function TestManagerClearWorktreeInfoNotFound

internal/loop/manager_test.go:546–552  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

544}
545
546func TestManagerClearWorktreeInfoNotFound(t *testing.T) {
547 m := NewManager(10, testProvider)
548 err := m.ClearWorktreeInfo("nonexistent", true)
549 if err == nil {
550 t.Error("expected error for nonexistent PRD")
551 }
552}
553
554func TestManagerUpdateWorktreeInfo(t *testing.T) {
555 tmpDir := t.TempDir()

Callers

nothing calls this directly

Calls 2

ClearWorktreeInfoMethod · 0.95
NewManagerFunction · 0.85

Tested by

no test coverage detected