(t *testing.T)
| 49 | } |
| 50 | |
| 51 | func TestShouldReturnErrorIfConfigFileDoesNotExist(t *testing.T) { |
| 52 | configBody, err := getConfigString("notExistingFile", "") |
| 53 | require.Error(t, err) |
| 54 | require.Empty(t, configBody) |
| 55 | } |
| 56 | |
| 57 | func writeConfigFile(test testStruct, t *testing.T) { |
| 58 | if test.configFileName != "" { |
nothing calls this directly
no test coverage detected