(t *testing.T, dir, filename, content string)
| 308 | } |
| 309 | |
| 310 | func writeTestFile(t *testing.T, dir, filename, content string) { |
| 311 | t.Helper() |
| 312 | path := filepath.Join(dir, filename) |
| 313 | if err := os.WriteFile(path, []byte(content), 0644); err != nil { |
| 314 | t.Fatalf("Failed to create test file %s: %v", filename, err) |
| 315 | } |
| 316 | } |
no outgoing calls
no test coverage detected