Fix single-entry TXT parse length test

This commit is contained in:
Andrew Tunnell-Jones 2014-01-11 05:28:47 +00:00
parent a627d88e3f
commit 4584fc0cb3
1 changed files with 1 additions and 1 deletions

View File

@ -714,7 +714,7 @@ func TestTXT(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() == 10 {
if rr.len() != 28+1+12 {
t.Error("Bad size of serialized record:", rr.len())
}
}