Reverse the test outcome
This commit is contained in:
parent
d017b24161
commit
fe71bc23db
|
@ -58,9 +58,7 @@ func TestRRPack(t *testing.T) {
|
|||
t.Error("Failed to parse TYPE1234 RR: ", err.Error())
|
||||
}
|
||||
rr, err = NewRR("example.com IN TYPE1 \\# 4 0a000001")
|
||||
if err == nil {
|
||||
t.Log("%s\n", rr.String())
|
||||
} else {
|
||||
t.Error("Failed to parse TYPE1 RR: ", err.Error())
|
||||
if err != nil {
|
||||
t.Error("This should not work")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue