(t *testing.T, actualConfigPath, expectedConfig string)
| 870 | } |
| 871 | |
| 872 | func assertConfigFileMatches(t *testing.T, actualConfigPath, expectedConfig string) { |
| 873 | t.Helper() |
| 874 | |
| 875 | fileContent, err := os.ReadFile(actualConfigPath) |
| 876 | assert.NoError(t, err) |
| 877 | assert.Equal(t, expectedConfig, string(fileContent)) |
| 878 | } |
no outgoing calls
no test coverage detected