(t *testing.T)
| 751 | } |
| 752 | |
| 753 | func TestPanicReadAt(t *testing.T) { |
| 754 | defer func() { |
| 755 | recover() |
| 756 | }() |
| 757 | buf := toBufferAt(New(5)) |
| 758 | buf.ReadAt(nil, 0) |
| 759 | t.Error("expected a panic!") |
| 760 | } |
| 761 | |
| 762 | func TestPanicWriteAt(t *testing.T) { |
| 763 | defer func() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…