(t *testing.T, dir, filename, content string)
| 51 | } |
| 52 | |
| 53 | func writeFile(t *testing.T, dir, filename, content string) { |
| 54 | t.Helper() |
| 55 | err := os.WriteFile(filepath.Join(dir, filename), []byte(content), 0o644) |
| 56 | assert.NoError(t, err) |
| 57 | } |
| 58 | |
| 59 | func TestGetConfig_NoConfigFiles(t *testing.T) { //nolint:paralleltest // cannot run in parallel |
| 60 | _, _, localDir := setupDirs(t) |
no outgoing calls
no test coverage detected
searching dependent graphs…