(t *testing.T)
| 10 | ) |
| 11 | |
| 12 | func getTempFile(t *testing.T) *os.File { |
| 13 | tmpFile, err := os.CreateTemp("", "*.yaml") |
| 14 | require.NoError(t, err) |
| 15 | t.Cleanup(func() { |
| 16 | _ = os.Remove(tmpFile.Name()) |
| 17 | }) |
| 18 | return tmpFile |
| 19 | } |
| 20 | |
| 21 | func TestAddNewConfig(t *testing.T) { |
| 22 | tests := []struct { |
no test coverage detected