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)
| 179 | // RunSuccessfullyWithOutputString matches successful execution of a command and passes the output string |
| 180 | // to another matcher (the string will include stdout and stderr) |
| 181 | func 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) |
no outgoing calls
no test coverage detected