(t *testing.T)
| 86 | } |
| 87 | |
| 88 | func TestDoesNotPrintCommandIfMissing(t *testing.T) { |
| 89 | t.Parallel() |
| 90 | |
| 91 | buffer, l := createDummyLogger() |
| 92 | task := &ast.Task{ |
| 93 | Cmds: []*ast.Cmd{}, |
| 94 | } |
| 95 | |
| 96 | summary.PrintTask(&l, task) |
| 97 | |
| 98 | assert.NotContains(t, buffer.String(), "commands") |
| 99 | } |
| 100 | |
| 101 | func TestLayout(t *testing.T) { |
| 102 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…