mirror of
https://github.com/miekg/dns.git
synced 2025-12-18 02:01:38 +01:00
Run gofmt -w -s (#971)
mechanical run of gofmt. Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
parent
0930b62a13
commit
087e486609
10
msg_test.go
10
msg_test.go
@ -220,11 +220,11 @@ func TestUnpackDomainName(t *testing.T) {
|
|||||||
|
|
||||||
func TestPackDomainNameCompressionMap(t *testing.T) {
|
func TestPackDomainNameCompressionMap(t *testing.T) {
|
||||||
expected := map[string]struct{}{
|
expected := map[string]struct{}{
|
||||||
`www\.this.is.\131an.example.org.`: struct{}{},
|
`www\.this.is.\131an.example.org.`: {},
|
||||||
`is.\131an.example.org.`: struct{}{},
|
`is.\131an.example.org.`: {},
|
||||||
`\131an.example.org.`: struct{}{},
|
`\131an.example.org.`: {},
|
||||||
`example.org.`: struct{}{},
|
`example.org.`: {},
|
||||||
`org.`: struct{}{},
|
`org.`: {},
|
||||||
}
|
}
|
||||||
|
|
||||||
msg := make([]byte, 256)
|
msg := make([]byte, 256)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user