(t *testing.T)
| 918 | } |
| 919 | |
| 920 | func TestCmdListTasksFormatBad(t *testing.T) { |
| 921 | _, _ = showListEditDB(t) |
| 922 | if rc := cmdList([]string{"tasks", "--format", "yaml"}); rc != 2 { |
| 923 | t.Errorf("rc=%d, want 2 (usage error)", rc) |
| 924 | } |
| 925 | } |
| 926 | |
| 927 | func TestCmdListTasksEmptyJSON(t *testing.T) { |
| 928 | _, _ = showListEditDB(t) |
nothing calls this directly
no test coverage detected