Use FQDN for question in TestCompressLength (#831)

This was a bug.
This commit is contained in:
Tom Thorogood 2018-11-28 00:58:13 +10:30 committed by Miek Gieben
parent e969cef252
commit 8eab0120c4
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ import (
func TestCompressLength(t *testing.T) {
m := new(Msg)
m.SetQuestion("miek.nl", TypeMX)
m.SetQuestion("miek.nl.", TypeMX)
ul := m.Len()
m.Compress = true
if ul != m.Len() {