rename net.ParseCIDR on messages to avoid false positives

This commit is contained in:
Antonio Ojea 2021-08-19 22:57:32 +02:00
parent 06f2d678ee
commit e9ddac5d85

View File

@ -44,7 +44,7 @@ func TestLastIPInRange(t *testing.T) {
} {
_, c, err := net.ParseCIDR(tc.cidr)
if err != nil {
t.Errorf("net.ParseCIDR(%v) = _, %v, %v; want nil", tc.cidr, c, err)
t.Errorf("can't parse CIDR %v = _, %v, %v; want nil", tc.cidr, c, err)
continue
}