diff options
author | Arthur Sfez <asfez@google.com> | 2020-10-15 09:27:03 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-15 09:29:01 -0700 |
commit | 8f70c6ef351110cf94e758b6dc295387f0388707 (patch) | |
tree | 6fc481c8fcbe20f55ea67099543d6c0ee63acc25 /pkg/tcpip/tcpip.go | |
parent | 6e6a9d3f3dd6dd9ce290952406ba7ca7c5570311 (diff) |
Refactor compareFragments to follow Go style
Test helpers should be used for test setup/teardown, not actual
testing. Use cmp.Diff instead of bytes.Equal to improve readability.
PiperOrigin-RevId: 337323242
Diffstat (limited to 'pkg/tcpip/tcpip.go')
0 files changed, 0 insertions, 0 deletions