(path string)
| 14 | ) |
| 15 | |
| 16 | func fileAsString(path string) string { |
| 17 | configBytes, err := os.ReadFile(path) |
| 18 | Expect(err).ToNot(HaveOccurred()) |
| 19 | |
| 20 | return string(configBytes) |
| 21 | } |
| 22 | |
| 23 | func replaceConfig(path string, old string, new string) { |
| 24 | r := regexp.MustCompile(old) |
no outgoing calls
no test coverage detected