(t *testing.T)
| 40 | } |
| 41 | |
| 42 | func TestDoesNotPrintDependenciesIfMissing(t *testing.T) { |
| 43 | t.Parallel() |
| 44 | |
| 45 | buffer, l := createDummyLogger() |
| 46 | task := &ast.Task{ |
| 47 | Deps: []*ast.Dep{}, |
| 48 | } |
| 49 | |
| 50 | summary.PrintTask(&l, task) |
| 51 | |
| 52 | assert.NotContains(t, buffer.String(), "dependencies:") |
| 53 | } |
| 54 | |
| 55 | func TestPrintTaskName(t *testing.T) { |
| 56 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…