MCPcopy Index your code
hub / github.com/cli/cli / testEditor

Struct testEditor

pkg/cmd/pr/shared/survey_test.go:215–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215type testEditor struct {
216 edit func(string) (string, error)
217}
218
219func (e testEditor) Edit(filename, text string) (string, error) {
220 return e.edit(text)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected