test: enable txt equal test

This test fails, but stops failing when I merge pull request #85.
This commit is contained in:
Miek Gieben 2014-03-02 16:47:52 +00:00
parent 2ea84f6110
commit 28a65aaf87
1 changed files with 2 additions and 1 deletions

View File

@ -885,10 +885,11 @@ func TestTxtEqual(t *testing.T) {
rr1.Txt = []string{"a\"a", "\"", "b"}
rr2, _ := NewRR(rr1.String())
if rr1.String() != rr2.String() {
// t.Fail() // This is not an error, but keep this test.
t.Logf("These two TXT records should match")
t.Logf("\n%s\n%s\n", rr1.String(), rr2.String())
t.Fail() // This is not an error, but keep this test.
}
t.Logf("\n%s\n%s\n", rr1.String(), rr2.String())
}
func TestTxtLong(t *testing.T) {
rr1 := new(TXT)