aboutsummaryrefslogtreecommitdiff
path: root/test/proxy_test.go
diff options
context:
space:
mode:
authorGravatar Ambrose Chua <ambrose@chua.family> 2020-04-25 14:08:36 +0800
committerGravatar GitHub <noreply@github.com> 2020-04-25 08:08:36 +0200
commited1f42cf563e60068cadb96155423942917d0d47 (patch)
tree9e5db2f9744cc20b73ab3c0b8f370450d06f6106 /test/proxy_test.go
parent74eabe90e03b3c83edeb242ff9491b44a7e82cfc (diff)
downloadcoredns-ed1f42cf563e60068cadb96155423942917d0d47.tar.gz
coredns-ed1f42cf563e60068cadb96155423942917d0d47.tar.zst
coredns-ed1f42cf563e60068cadb96155423942917d0d47.zip
Fix mixed indentation within tests (#3855)
Signed-off-by: Ambrose Chua <ambrose@chua.family>
Diffstat (limited to 'test/proxy_test.go')
-rw-r--r--test/proxy_test.go10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/proxy_test.go b/test/proxy_test.go
index 50e5dae46..fd7410026 100644
--- a/test/proxy_test.go
+++ b/test/proxy_test.go
@@ -17,9 +17,8 @@ func TestLookupProxy(t *testing.T) {
defer rm()
corefile := `example.org:0 {
- file ` + name + `
-}
-`
+ file ` + name + `
+ }`
i, udp, _, err := CoreDNSServerAndPorts(corefile)
if err != nil {
@@ -54,9 +53,8 @@ func BenchmarkProxyLookup(b *testing.B) {
defer rm()
corefile := `example.org:0 {
- file ` + name + `
-}
-`
+ file ` + name + `
+ }`
i, err := CoreDNSServer(corefile)
if err != nil {