Fix the test

This commit is contained in:
Miek Gieben 2013-02-08 16:47:21 +01:00
parent 8adb7c519c
commit 6bd90e04c3
1 changed files with 2 additions and 1 deletions

View File

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