(stub func() (string, error))
| 116 | } |
| 117 | |
| 118 | func (m *MockPrompter) RegisterInputHostname(stub func() (string, error)) { |
| 119 | m.inputHostnameStubs = append(m.inputHostnameStubs, inputHostnameStub{fn: stub}) |
| 120 | } |
| 121 | |
| 122 | func (m *MockPrompter) RegisterMarkdownEditor(prompt string, stub func(string, string, bool) (string, error)) { |
| 123 | m.markdownEditorStubs = append(m.markdownEditorStubs, markdownEditorStub{prompt: prompt, fn: stub}) |
nothing calls this directly
no outgoing calls
no test coverage detected