MCPcopy
hub / github.com/cloudfoundry/cli / confirmTestPluginOutput

Function confirmTestPluginOutput

integration/shared/plugin/plugin_suite_test.go:97–103  ·  view source on GitHub ↗
(command string, output ...string)

Source from the content-addressed store, hash-verified

95}
96
97func confirmTestPluginOutput(command string, output ...string) {
98 session := helpers.CF(command)
99 for _, val := range output {
100 Eventually(session).Should(Say(val))
101 }
102 Eventually(session).Should(Exit(0))
103}
104
105func confirmTestPluginOutputWithArg(command string, arg string, output ...string) {
106 session := helpers.CF(command, arg)

Callers 2

api_test.goFile · 0.85
runner_test.goFile · 0.85

Calls 1

CFFunction · 0.92

Tested by

no test coverage detected