Get the testcases going
This commit is contained in:
parent
b9f82b0a36
commit
57fae415e0
|
@ -764,8 +764,8 @@ func TestTxtPack(t *testing.T) {
|
|||
if rr.String() != `_raop._tcp.local. 60 IN TXT "single value"` {
|
||||
t.Error("Bad representation of TXT record:", rr.String())
|
||||
}
|
||||
if rr.len(nil) == 10 {
|
||||
t.Error("Bad size of serialized record:", rr.len(nil))
|
||||
if rr.len() == 10 {
|
||||
t.Error("Bad size of serialized record:", rr.len())
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -784,8 +784,8 @@ func TestTxtPack(t *testing.T) {
|
|||
if rr.String() != `_raop._tcp.local. 60 IN TXT "a=1" "b=2" "c=3" "d=4"` {
|
||||
t.Error("Bad representation of TXT multi value record:", rr.String())
|
||||
}
|
||||
if rr.len(nil) != 44 {
|
||||
t.Error("Bad size of serialized multi value record:", rr.len(nil))
|
||||
if rr.len() != 44 {
|
||||
t.Error("Bad size of serialized multi value record:", rr.len())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue