(t *testing.T, path, text string)
| 771 | } |
| 772 | |
| 773 | func writeTestFile(t *testing.T, path, text string) { |
| 774 | t.Helper() |
| 775 | if err := os.WriteFile(path, []byte(text), 0o644); err != nil { |
| 776 | t.Fatal(err) |
| 777 | } |
| 778 | } |
| 779 | |
| 780 | func readTestFile(t *testing.T, path string) string { |
| 781 | t.Helper() |
no outgoing calls
no test coverage detected