| skipped 258 lines |
259 | 259 | | // EOF while reading label. |
260 | 260 | | {0, "\x0aexample", io.ErrUnexpectedEOF}, |
261 | 261 | | // EOF before second byte of pointer. |
| 262 | + | {0, "\xc0", io.ErrUnexpectedEOF}, |
262 | 263 | | {0, "\x07example\xc0", io.ErrUnexpectedEOF}, |
263 | 264 | | } { |
264 | 265 | | r := bytes.NewReader([]byte(test.input)) |
| skipped 275 lines |