mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-05 09:06:58 +02:00
Update pkg/rfc2317/arpa_test.go
This commit is contained in:
parent
4e6b4d8343
commit
1114d48888
@ -117,7 +117,7 @@ func TestCidrToInAddr(t *testing.T) {
|
||||
if err == nil {
|
||||
// ...but we didn't get one.
|
||||
t.Errorf("Expected ERROR('%s') but got result '%s'", tst.errmsg, d)
|
||||
} if err.Error() != tst.errmsg {
|
||||
} else if err.Error() != tst.errmsg {
|
||||
// ...but not the right error.
|
||||
t.Errorf("Expected ERROR('%s') but got ERROR('%s')", tst.errmsg, err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user