()
| 119 | } |
| 120 | |
| 121 | func expectedOutput() string { |
| 122 | expected := `task: sample-task |
| 123 | |
| 124 | line1 |
| 125 | line2 |
| 126 | line3 |
| 127 | |
| 128 | dependencies: |
| 129 | - dependency |
| 130 | |
| 131 | commands: |
| 132 | - command |
| 133 | ` |
| 134 | return expected |
| 135 | } |
| 136 | |
| 137 | func TestPrintDescriptionAsFallback(t *testing.T) { |
| 138 | t.Parallel() |
no outgoing calls
no test coverage detected
searching dependent graphs…