(t *testing.T)
| 130 | } |
| 131 | |
| 132 | func TestCmdAddProjectBadPriority(t *testing.T) { |
| 133 | setupFlowRoot(t) |
| 134 | wd := t.TempDir() |
| 135 | if rc := cmdAdd([]string{"project", "X", "--work-dir", wd, "--priority", "urgent"}); rc == 0 { |
| 136 | t.Errorf("expected rc!=0 for bad priority") |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | // ---------- add task ---------- |
| 141 |
nothing calls this directly
no test coverage detected