begin testing tcp listener (not working)

This commit is contained in:
soypat
2025-06-09 20:38:40 -03:00
parent 76be78812f
commit 6b511999d1
16 changed files with 136 additions and 48 deletions
+2 -2
View File
@@ -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())
}
}