mirror of
https://github.com/soypat/lneto.git
synced 2026-08-21 23:19:03 +00:00
begin testing tcp listener (not working)
This commit is contained in:
+2
-2
@@ -114,8 +114,8 @@ func validateARP(t *testing.T, buf []byte) {
|
||||
var vld lneto.Validator
|
||||
afrm.ValidateSize(&vld)
|
||||
if vld.HasError() {
|
||||
t.Errorf("invalid arp: %s", vld.Err())
|
||||
} else if err := vld.Err(); err != nil {
|
||||
t.Errorf("invalid arp: %s", vld.ErrPop())
|
||||
} else if err := vld.ErrPop(); err != nil {
|
||||
panic("unreachable: " + err.Error())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user