MCPcopy Create free account
hub / github.com/cli/cli / MarkdownEditorCalls

Method MarkdownEditorCalls

internal/prompter/prompter_mock.go:354–368  ·  view source on GitHub ↗

MarkdownEditorCalls gets all the calls that were made to MarkdownEditor. Check the length with: len(mockedPrompter.MarkdownEditorCalls())

()

Source from the content-addressed store, hash-verified

352//
353// len(mockedPrompter.MarkdownEditorCalls())
354func (mock *PrompterMock) MarkdownEditorCalls() []struct {
355 Prompt string
356 DefaultValue string
357 BlankAllowed bool
358} {
359 var calls []struct {
360 Prompt string
361 DefaultValue string
362 BlankAllowed bool
363 }
364 mock.lockMarkdownEditor.RLock()
365 calls = mock.calls.MarkdownEditor
366 mock.lockMarkdownEditor.RUnlock()
367 return calls
368}
369
370// MultiSelect calls MultiSelectFunc.
371func (mock *PrompterMock) MultiSelect(prompt string, defaults []string, options []string) ([]int, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected