(t *testing.T)
| 121 | } |
| 122 | |
| 123 | func 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 | |
| 130 | func TestCmdEditAmbiguousSameSlug(t *testing.T) { |
| 131 | // Same slug in tasks and projects → must surface as ambiguity. |
nothing calls this directly
no test coverage detected