MCPcopy Create free account
hub / github.com/eksctl-io/eksctl / RunSuccessfullyWithOutputString

Function RunSuccessfullyWithOutputString

integration/runner/runner.go:181–187  ·  view source on GitHub ↗

RunSuccessfullyWithOutputString matches successful execution of a command and passes the output string to another matcher (the string will include stdout and stderr)

(outputMatchers ...types.GomegaMatcher)

Source from the content-addressed store, hash-verified

179// RunSuccessfullyWithOutputString matches successful execution of a command and passes the output string
180// to another matcher (the string will include stdout and stderr)
181func RunSuccessfullyWithOutputString(outputMatchers ...types.GomegaMatcher) types.GomegaMatcher {
182 return &runCmdOutputMatcher{
183 outputMatchers: outputMatchers,
184 splitLines: false,
185 runCmdMatcher: &runCmdMatcher{},
186 }
187}
188
189// RunSuccessfullyWithOutputStringLines matches successful execution of a command and passes the output string
190// to another matcher split into lines (the string will include stdout and stderr)

Calls

no outgoing calls

Tested by

no test coverage detected