MCPcopy Create free account
hub / github.com/Facets-cloud/flow / TestCmdListTasksFormatBad

Function TestCmdListTasksFormatBad

internal/app/list_test.go:920–925  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

918}
919
920func 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
927func TestCmdListTasksEmptyJSON(t *testing.T) {
928 _, _ = showListEditDB(t)

Callers

nothing calls this directly

Calls 2

showListEditDBFunction · 0.85
cmdListFunction · 0.85

Tested by

no test coverage detected