(t *testing.T)
| 553 | } |
| 554 | |
| 555 | func TestAddrs(t *testing.T) { |
| 556 | c := newTestConn(nil, nil, true) |
| 557 | if c.LocalAddr() != localAddr { |
| 558 | t.Errorf("LocalAddr = %v, want %v", c.LocalAddr(), localAddr) |
| 559 | } |
| 560 | if c.RemoteAddr() != remoteAddr { |
| 561 | t.Errorf("RemoteAddr = %v, want %v", c.RemoteAddr(), remoteAddr) |
| 562 | } |
| 563 | } |
| 564 | |
| 565 | func TestDeprecatedUnderlyingConn(t *testing.T) { |
| 566 | var b1, b2 bytes.Buffer |
nothing calls this directly
no test coverage detected
searching dependent graphs…