(s string)
| 223 | } |
| 224 | |
| 225 | func (t *testTerminal) WaitForOutput(s string) { |
| 226 | for { |
| 227 | time.Sleep(time.Millisecond) |
| 228 | if strings.Contains(t.stdout.String(), s) { |
| 229 | return |
| 230 | } |
| 231 | } |
| 232 | } |
| 233 | |
| 234 | func (t *testTerminal) Output() string { |
| 235 | return t.stdout.String() |
no test coverage detected