()
| 75 | } |
| 76 | |
| 77 | func (m *MockPrompter) InputHostname() (string, error) { |
| 78 | var s inputHostnameStub |
| 79 | if len(m.inputHostnameStubs) == 0 { |
| 80 | return "", NoSuchPromptErr("InputHostname") |
| 81 | } |
| 82 | s = m.inputHostnameStubs[0] |
| 83 | m.inputHostnameStubs = m.inputHostnameStubs[1:len(m.inputHostnameStubs)] |
| 84 | return s.fn() |
| 85 | } |
| 86 | |
| 87 | func (m *MockPrompter) MarkdownEditor(prompt, defaultValue string, blankAllowed bool) (string, error) { |
| 88 | var s markdownEditorStub |
nothing calls this directly
no test coverage detected