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

Function TestManagerUpdateWorktreeInfoNotFound

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

Source from the content-addressed store, hash-verified

579}
580
581func TestManagerUpdateWorktreeInfoNotFound(t *testing.T) {
582 m := NewManager(10, testProvider)
583 err := m.UpdateWorktreeInfo("nonexistent", "/tmp", "branch")
584 if err == nil {
585 t.Error("expected error for nonexistent PRD")
586 }
587}
588
589func TestManagerUpdateWorktreeInfoOverwrite(t *testing.T) {
590 tmpDir := t.TempDir()

Callers

nothing calls this directly

Calls 2

UpdateWorktreeInfoMethod · 0.95
NewManagerFunction · 0.85

Tested by

no test coverage detected