(t *testing.T)
| 13 | ) |
| 14 | |
| 15 | func newLocal(t *testing.T) (*Local, string) { |
| 16 | t.Helper() |
| 17 | root := t.TempDir() |
| 18 | b, err := NewLocal(LocalConfig{Root: root}) |
| 19 | if err != nil { |
| 20 | t.Fatal(err) |
| 21 | } |
| 22 | return b, root |
| 23 | } |
| 24 | |
| 25 | func writeFile(t *testing.T, root, rel string, data []byte) { |
| 26 | t.Helper() |
no test coverage detected