(t *testing.T)
| 266 | } |
| 267 | |
| 268 | func TestCmdUpdateTaskAssigneeMutuallyExclusive(t *testing.T) { |
| 269 | setupFlowRoot(t) |
| 270 | seedTask(t, "ut-assign-x") |
| 271 | if rc := cmdUpdate([]string{"task", "ut-assign-x", |
| 272 | "--assignee", "bob", "--clear-assignee"}); rc != 2 { |
| 273 | t.Errorf("rc=%d, want 2 when both given", rc) |
| 274 | } |
| 275 | } |
| 276 | |
| 277 | func TestCmdUpdateTaskPriority(t *testing.T) { |
| 278 | setupFlowRoot(t) |
nothing calls this directly
no test coverage detected