Fix the test
This commit is contained in:
parent
8adb7c519c
commit
6bd90e04c3
|
@ -155,7 +155,8 @@ func TestCompressLenght(t *testing.T) {
|
|||
|
||||
func TestToRFC3597(t *testing.T) {
|
||||
a, _ := NewRR("miek.nl. IN A 10.0.1.1")
|
||||
x := ToRFC3597(a)
|
||||
x := new(RFC3597)
|
||||
x.ToRFC3597(a)
|
||||
if x.String() != `miek.nl. 3600 IN A \# 4 0a000101` {
|
||||
t.Fail()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue