mirror of
https://github.com/miekg/dns.git
synced 2025-10-10 17:31:01 +02:00
gofmt
This commit is contained in:
parent
1d5e916a1e
commit
9b48d4b899
@ -134,7 +134,6 @@ func TestDomainName(t *testing.T) {
|
||||
tests := []string{"r\\.gieben.miek.nl.", "www\\.www.miek.nl."}
|
||||
dbuff := make([]byte, 40)
|
||||
|
||||
|
||||
for _, ts := range tests {
|
||||
if _, ok := PackDomainName(ts, dbuff, 0, nil, false); !ok {
|
||||
t.Log("Not a valid domain name")
|
||||
@ -145,7 +144,7 @@ func TestDomainName(t *testing.T) {
|
||||
if !ok {
|
||||
t.Log("Failed to unpack packed domain name")
|
||||
t.Fail()
|
||||
continue;
|
||||
continue
|
||||
}
|
||||
if ts != n {
|
||||
t.Logf("Must be equal: in: %s, out: %s\n", ts, n)
|
||||
|
Loading…
x
Reference in New Issue
Block a user