aboutsummaryrefslogtreecommitdiff
path: root/test/server_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/server_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/server_test.go')
-rw-r--r--test/server_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/server_test.go b/test/server_test.go
index d7d4f43fc..f03a27749 100644
--- a/test/server_test.go
+++ b/test/server_test.go
@@ -10,9 +10,9 @@ import (
func TestProxyToChaosServer(t *testing.T) {
t.Parallel()
corefile := `.:0 {
- chaos CoreDNS-001 miek@miek.nl
-}
-`
+ chaos CoreDNS-001 miek@miek.nl
+ }`
+
chaos, udpChaos, _, err := CoreDNSServerAndPorts(corefile)
if err != nil {
t.Fatalf("Could not get CoreDNS serving instance: %s", err)
@@ -22,8 +22,8 @@ func TestProxyToChaosServer(t *testing.T) {
corefileProxy := `.:0 {
forward . ` + udpChaos + `
-}
-`
+ }`
+
proxy, udp, _, err := CoreDNSServerAndPorts(corefileProxy)
if err != nil {
t.Fatalf("Could not get CoreDNS serving instance")