(t *testing.T)
| 760 | } |
| 761 | |
| 762 | func TestPanicWriteAt(t *testing.T) { |
| 763 | defer func() { |
| 764 | recover() |
| 765 | }() |
| 766 | buf := toBufferAt(New(5)) |
| 767 | buf.WriteAt(nil, 0) |
| 768 | t.Error("expected a panic!") |
| 769 | } |
| 770 | |
| 771 | type badFile struct{} |
| 772 |
nothing calls this directly
no test coverage detected
searching dependent graphs…