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

Function TestCmdUpdateTaskWaitingMutuallyExclusive

internal/app/update_test.go:321–328  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

319}
320
321func TestCmdUpdateTaskWaitingMutuallyExclusive(t *testing.T) {
322 setupFlowRoot(t)
323 seedTask(t, "ut-wait-x")
324 if rc := cmdUpdate([]string{"task", "ut-wait-x",
325 "--waiting", "Carol", "--clear-waiting"}); rc != 2 {
326 t.Errorf("rc=%d, want 2 when both given", rc)
327 }
328}
329
330func TestCmdUpdateProjectPriority(t *testing.T) {
331 setupFlowRoot(t)

Callers

nothing calls this directly

Calls 3

setupFlowRootFunction · 0.85
seedTaskFunction · 0.85
cmdUpdateFunction · 0.85

Tested by

no test coverage detected