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

Function TestCmdUpdateTaskUnknownTask

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

Source from the content-addressed store, hash-verified

171}
172
173func TestCmdUpdateTaskUnknownTask(t *testing.T) {
174 setupFlowRoot(t)
175 if rc := cmdUpdate([]string{"task", "nope", "--priority", "high"}); rc != 1 {
176 t.Errorf("rc=%d, want 1 for unknown task", rc)
177 }
178}
179
180func TestCmdUpdateUnknownTarget(t *testing.T) {
181 setupFlowRoot(t)

Callers

nothing calls this directly

Calls 2

setupFlowRootFunction · 0.85
cmdUpdateFunction · 0.85

Tested by

no test coverage detected