(t *testing.T)
| 258 | } |
| 259 | |
| 260 | func TestCheckWritePermission_Success(t *testing.T) { |
| 261 | dir := t.TempDir() |
| 262 | if err := checkWritePermission(dir); err != nil { |
| 263 | t.Errorf("expected write permission check to pass: %v", err) |
| 264 | } |
| 265 | } |
| 266 | |
| 267 | func TestCheckWritePermission_Fail(t *testing.T) { |
| 268 | dir := t.TempDir() |
nothing calls this directly
no test coverage detected