MCPcopy Index your code
hub / github.com/devspace-sh/devspace / ExpectHaveKey

Function ExpectHaveKey

e2e/framework/helper.go:56–58  ·  view source on GitHub ↗

ExpectHaveKey expects the actual map has the key in the keyset

(actual interface{}, key interface{}, explain ...interface{})

Source from the content-addressed store, hash-verified

54
55// ExpectHaveKey expects the actual map has the key in the keyset
56func ExpectHaveKey(actual interface{}, key interface{}, explain ...interface{}) {
57 gomega.ExpectWithOffset(1, actual).To(gomega.HaveKey(key), explain...)
58}
59
60// ExpectEmpty expects actual is empty
61func ExpectEmpty(actual interface{}, explain ...interface{}) {

Callers 1

init.goFile · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected