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

Function TestCmdEditMissingRef

internal/app/edit_test.go:123–128  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

121}
122
123func TestCmdEditMissingRef(t *testing.T) {
124 _, _ = showListEditDB(t)
125 if rc := cmdEdit(nil); rc != 2 {
126 t.Errorf("rc=%d, want 2", rc)
127 }
128}
129
130func TestCmdEditAmbiguousSameSlug(t *testing.T) {
131 // Same slug in tasks and projects → must surface as ambiguity.

Callers

nothing calls this directly

Calls 2

showListEditDBFunction · 0.85
cmdEditFunction · 0.85

Tested by

no test coverage detected