| 8 | var _ Terminal = &MockTerminal{} |
| 9 | |
| 10 | type MockTerminal struct { |
| 11 | Output []string |
| 12 | Errors []string |
| 13 | } |
| 14 | |
| 15 | func (m *MockTerminal) Print(line string) { |
| 16 | m.Output = append(m.Output, line) |
nothing calls this directly
no outgoing calls
no test coverage detected