Skip to content

Commit

Permalink
Update testunit #20
Browse files Browse the repository at this point in the history
  • Loading branch information
dmachard committed Dec 9, 2021
1 parent 28c8243 commit a34e8d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subprocessors/dnsparser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func TestRcodeValid(t *testing.T) {

func TestRcodeInvalid(t *testing.T) {
rcode := RcodeToString(100000)
if rcode != "-" {
if rcode != "UNKNOWN" {
t.Errorf("invalid rcode - expected: %s", rcode)
}
}
Expand All @@ -31,7 +31,7 @@ func TestRdatatypeValid(t *testing.T) {

func TestRdatatypeInvalid(t *testing.T) {
rdt := RdatatypeToString(100000)
if rdt != "-" {
if rdt != "UNKNOWN" {
t.Errorf("rdatatype - expected: %s", rdt)
}
}
Expand Down

0 comments on commit a34e8d2

Please sign in to comment.