From 7d629a0b9e4c41a802522aeb2f9eff6315960571 Mon Sep 17 00:00:00 2001 From: "coredns[bot]" Date: Mon, 10 Jan 2022 10:28:56 +0000 Subject: [PATCH] auto go fmt Signed-off-by: coredns[bot] --- plugin/dns64/dns64_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin/dns64/dns64_test.go b/plugin/dns64/dns64_test.go index 5db83f163..54d63439a 100644 --- a/plugin/dns64/dns64_test.go +++ b/plugin/dns64/dns64_test.go @@ -33,28 +33,28 @@ func TestRequestShouldIntercept(t *testing.T) { name: "should intercept request from IPv6 network - AAAA - IN", allowIpv4: true, remoteIP: "::1", - msg: new(dns.Msg).SetQuestion("example.com", dns.TypeAAAA), + msg: new(dns.Msg).SetQuestion("example.com", dns.TypeAAAA), want: true, }, { name: "should intercept request from IPv4 network - AAAA - IN", allowIpv4: true, remoteIP: "127.0.0.1", - msg: new(dns.Msg).SetQuestion("example.com", dns.TypeAAAA), + msg: new(dns.Msg).SetQuestion("example.com", dns.TypeAAAA), want: true, }, { name: "should not intercept request from IPv4 network - AAAA - IN", allowIpv4: false, remoteIP: "127.0.0.1", - msg: new(dns.Msg).SetQuestion("example.com", dns.TypeAAAA), + msg: new(dns.Msg).SetQuestion("example.com", dns.TypeAAAA), want: false, }, { name: "should not intercept request from IPv6 network - A - IN", allowIpv4: false, remoteIP: "::1", - msg: new(dns.Msg).SetQuestion("example.com", dns.TypeA), + msg: new(dns.Msg).SetQuestion("example.com", dns.TypeA), want: false, }, }