(t *testing.T, conn *Conn)
| 368 | } |
| 369 | |
| 370 | func testConnFirstOffset(t *testing.T, conn *Conn) { |
| 371 | offset, whence := conn.Offset() |
| 372 | |
| 373 | if offset != 0 && whence != 0 { |
| 374 | t.Error("bad first offset:", offset, whence) |
| 375 | } |
| 376 | } |
| 377 | |
| 378 | func testConnWrite(t *testing.T, conn *Conn) { |
| 379 | b := []byte("Hello World!") |