Reverse the test outcome

This commit is contained in:
Miek Gieben 2013-06-07 08:15:24 +01:00
parent d017b24161
commit fe71bc23db
1 changed files with 2 additions and 4 deletions

View File

@ -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")
}
}