diff options
author | Toshi Kikuchi <toshik@google.com> | 2021-02-11 14:37:37 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-02-11 14:39:41 -0800 |
commit | 2129dfff61526879ca6a681e7a498d1e0d9ace34 (patch) | |
tree | 9418ae4b091fb42e02ddf04a77f8922eb7e0ea90 /pkg/state/encode_unsafe.go | |
parent | c833eed80a4ceaf9da852ef361dd5f4864eb647d (diff) |
iptables test: Implement testCase interface on pointers
Implementing interfaces on value types causes the interface to be
implemented by both the value type and the pointer type of the
implementer. This complicates type assertion as it requires the
assertion to check for both the pointer type and the value type.
PiperOrigin-RevId: 357061063
Diffstat (limited to 'pkg/state/encode_unsafe.go')
0 files changed, 0 insertions, 0 deletions