(t *testing.T)
| 249 | } |
| 250 | |
| 251 | func TestCmdAddUnknownSubcommand(t *testing.T) { |
| 252 | setupFlowRoot(t) |
| 253 | if rc := cmdAdd([]string{"bogus"}); rc != 2 { |
| 254 | t.Errorf("rc=%d, want 2", rc) |
| 255 | } |
| 256 | if rc := cmdAdd(nil); rc != 2 { |
| 257 | t.Errorf("rc=%d, want 2", rc) |
| 258 | } |
| 259 | } |
| 260 | |
| 261 | func TestCmdAddTaskWithDueDate(t *testing.T) { |
| 262 | setupFlowRoot(t) |
nothing calls this directly
no test coverage detected