MCPcopy Create free account
hub / github.com/Facets-cloud/flow / TestCmdDoneUnknownRef

Function TestCmdDoneUnknownRef

internal/app/done_test.go:60–66  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

58}
59
60func TestCmdDoneUnknownRef(t *testing.T) {
61 setupFlowRoot(t)
62 stubClaudeRunner(t, nil)
63 if rc := cmdDone([]string{"nope"}); rc == 0 {
64 t.Error("expected rc!=0 for unknown task")
65 }
66}
67
68func TestCmdDoneIdempotent(t *testing.T) {
69 setupFlowRoot(t)

Callers

nothing calls this directly

Calls 4

setupFlowRootFunction · 0.85
stubClaudeRunnerFunction · 0.85
cmdDoneFunction · 0.85
ErrorMethod · 0.80

Tested by

no test coverage detected