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

Function ExpectLocalFileContentsImmediately

e2e/framework/helper.go:172–176  ·  view source on GitHub ↗
(filePath string, contents string)

Source from the content-addressed store, hash-verified

170}
171
172func ExpectLocalFileContentsImmediately(filePath string, contents string) {
173 out, err := os.ReadFile(filePath)
174 ExpectNoError(err)
175 gomega.ExpectWithOffset(1, string(out)).To(gomega.Equal(contents))
176}
177
178func ExpectLocalFileContainSubstringImmediately(filePath string, contents string) {
179 out, err := os.ReadFile(filePath)

Callers 6

terminal.goFile · 0.92
render.goFile · 0.92
pipelines.goFile · 0.92
hooks.goFile · 0.92
dependencies.goFile · 0.92
config.goFile · 0.92

Calls 2

ExpectNoErrorFunction · 0.85
EqualMethod · 0.80

Tested by

no test coverage detected