(t *testing.T, path, contents string)
| 36 | } |
| 37 | |
| 38 | func WriteFile(t *testing.T, path, contents string) { |
| 39 | t.Helper() |
| 40 | |
| 41 | //nolint:gosec |
| 42 | err := os.WriteFile(path, []byte(contents), 0o644) |
| 43 | require.NoError(t, err) |
| 44 | } |
no outgoing calls
no test coverage detected