diff options
author | Zeling Feng <zeling@google.com> | 2021-03-03 12:11:14 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-03-03 12:13:41 -0800 |
commit | 32578a591c01b1a64ce0bc5c9c62be4e8689232d (patch) | |
tree | f0f715f1ca6a674eaf9929b648c99bdd0b0b2a7e /pkg/tcpip/buffer/view_test.go | |
parent | a9441aea2780da8c93da1c73da860219f98438de (diff) |
Use struct embedding to avoid casts and reuse methods
- Removed (*testbench.Connection)(&conn) like casts
- Removed redundant definition of Drain, Close and ExpectFrame
PiperOrigin-RevId: 360727788
Diffstat (limited to 'pkg/tcpip/buffer/view_test.go')
0 files changed, 0 insertions, 0 deletions