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

Function TestCmdUpdateTaskAssigneeMutuallyExclusive

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

Source from the content-addressed store, hash-verified

266}
267
268func TestCmdUpdateTaskAssigneeMutuallyExclusive(t *testing.T) {
269 setupFlowRoot(t)
270 seedTask(t, "ut-assign-x")
271 if rc := cmdUpdate([]string{"task", "ut-assign-x",
272 "--assignee", "bob", "--clear-assignee"}); rc != 2 {
273 t.Errorf("rc=%d, want 2 when both given", rc)
274 }
275}
276
277func TestCmdUpdateTaskPriority(t *testing.T) {
278 setupFlowRoot(t)

Callers

nothing calls this directly

Calls 3

setupFlowRootFunction · 0.85
seedTaskFunction · 0.85
cmdUpdateFunction · 0.85

Tested by

no test coverage detected