(t *testing.T)
| 171 | } |
| 172 | |
| 173 | func 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 | |
| 180 | func TestCmdUpdateUnknownTarget(t *testing.T) { |
| 181 | setupFlowRoot(t) |
nothing calls this directly
no test coverage detected