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

Function TestCmdUpdateUnknownTarget

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

Source from the content-addressed store, hash-verified

178}
179
180func TestCmdUpdateUnknownTarget(t *testing.T) {
181 setupFlowRoot(t)
182 if rc := cmdUpdate([]string{"project", "foo"}); rc != 2 {
183 t.Errorf("rc=%d, want 2 for unknown update target", rc)
184 }
185}
186
187func TestCmdUpdateTaskStatusRollback(t *testing.T) {
188 setupFlowRoot(t)

Callers

nothing calls this directly

Calls 2

setupFlowRootFunction · 0.85
cmdUpdateFunction · 0.85

Tested by

no test coverage detected