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

Function ContainSubstrings

cf/util/testhelpers/matchers/contain_substrings.go:16–18  ·  view source on GitHub ↗
(substrings ...[]string)

Source from the content-addressed store, hash-verified

14}
15
16func ContainSubstrings(substrings ...[]string) gomega.OmegaMatcher {
17 return &SliceMatcher{expected: substrings}
18}
19
20func (matcher *SliceMatcher) Match(actual interface{}) (success bool, err error) {
21 actualStrings, ok := actual.([]string)

Callers 15

config_test.goFile · 0.85
login_test.goFile · 0.85
stack_test.goFile · 0.85
passwd_test.goFile · 0.85
auth_test.goFile · 0.85
api_test.goFile · 0.85
target_test.goFile · 0.85
stacks_test.goFile · 0.85
curl_test.goFile · 0.85
ssh_code_test.goFile · 0.85

Calls

no outgoing calls

Tested by 2

successfulUpdateFunction · 0.68
failedUpdateFunction · 0.68