MCPcopy
hub / github.com/jesseduffield/lazygit / InitialText

Method InitialText

pkg/integration/components/prompt_driver.go:22–26  ·  view source on GitHub ↗

asserts on the text initially present in the prompt

(expected *TextMatcher)

Source from the content-addressed store, hash-verified

20
21// asserts on the text initially present in the prompt
22func (self *PromptDriver) InitialText(expected *TextMatcher) *PromptDriver {
23 self.getViewDriver().Content(expected)
24
25 return self
26}
27
28func (self *PromptDriver) Type(value string) *PromptDriver {
29 self.t.typeContent(value)

Callers

nothing calls this directly

Calls 2

getViewDriverMethod · 0.95
ContentMethod · 0.45

Tested by

no test coverage detected