(filePath string, contents string)
| 170 | } |
| 171 | |
| 172 | func 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 | |
| 178 | func ExpectLocalFileContainSubstringImmediately(filePath string, contents string) { |
| 179 | out, err := os.ReadFile(filePath) |
no test coverage detected