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

Function TestCmdAddProjectBadPriority

internal/app/add_test.go:132–138  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

130}
131
132func TestCmdAddProjectBadPriority(t *testing.T) {
133 setupFlowRoot(t)
134 wd := t.TempDir()
135 if rc := cmdAdd([]string{"project", "X", "--work-dir", wd, "--priority", "urgent"}); rc == 0 {
136 t.Errorf("expected rc!=0 for bad priority")
137 }
138}
139
140// ---------- add task ----------
141

Callers

nothing calls this directly

Calls 2

setupFlowRootFunction · 0.85
cmdAddFunction · 0.85

Tested by

no test coverage detected