From a34e8d246bdc9bc3989fc9ab79be5a2a5cc8407d Mon Sep 17 00:00:00 2001 From: dmachard <5562930+dmachard@users.noreply.github.com> Date: Thu, 9 Dec 2021 21:14:17 +0100 Subject: [PATCH] Update testunit #20 --- subprocessors/dnsparser_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subprocessors/dnsparser_test.go b/subprocessors/dnsparser_test.go index b42d6f1d..f249a167 100644 --- a/subprocessors/dnsparser_test.go +++ b/subprocessors/dnsparser_test.go @@ -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) } } @@ -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) } }