-- test helpers --.
(t *testing.T, dir, name, content string)
| 19 | // -- test helpers --. |
| 20 | |
| 21 | func writeTestFile(t *testing.T, dir, name, content string) { |
| 22 | t.Helper() |
| 23 | require.NoError(t, os.WriteFile(filepath.Join(dir, name), []byte(content), 0600)) |
| 24 | } |
| 25 | |
| 26 | func mkTestDir(t *testing.T, dir, sub string) { |
| 27 | t.Helper() |
no outgoing calls
no test coverage detected