(c *C)
| 51 | } |
| 52 | |
| 53 | func (s *SuiteReader) TestReadGarbage(c *C) { |
| 54 | source := bytes.NewReader([]byte("!@#$RO!@NROSADfinq@o#irn@oirfn")) |
| 55 | _, err := NewReader(source) |
| 56 | c.Assert(err, NotNil) |
| 57 | } |
| 58 | |
| 59 | func (s *SuiteReader) TestReadCorruptZLib(c *C) { |
| 60 | data, _ := base64.StdEncoding.DecodeString("eAFLysaalPUjBgAAAJsAHw") |
nothing calls this directly
no test coverage detected