aboutsummaryrefslogtreecommitdiff
path: root/test/file_cname_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/file_cname_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/file_cname_proxy_test.go')
-rw-r--r--test/file_cname_proxy_test.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/file_cname_proxy_test.go b/test/file_cname_proxy_test.go
index f880d98a3..a8714d511 100644
--- a/test/file_cname_proxy_test.go
+++ b/test/file_cname_proxy_test.go
@@ -19,9 +19,9 @@ func TestZoneExternalCNAMELookupWithoutProxy(t *testing.T) {
// Corefile with for example without proxy section.
corefile := `example.org:0 {
- file ` + name + `
-}
-`
+ file ` + name + `
+ }`
+
i, udp, _, err := CoreDNSServerAndPorts(corefile)
if err != nil {
t.Fatalf("Could not get CoreDNS serving instance: %s", err)
@@ -51,12 +51,12 @@ func TestZoneExternalCNAMELookupWithProxy(t *testing.T) {
// Corefile with for example proxy section.
corefile := `.:0 {
- file ` + name + ` example.org {
- upstream
- }
- forward . 8.8.8.8 8.8.4.4
-}
-`
+ file ` + name + ` example.org {
+ upstream
+ }
+ forward . 8.8.8.8 8.8.4.4
+ }`
+
i, udp, _, err := CoreDNSServerAndPorts(corefile)
if err != nil {
t.Fatalf("Could not get CoreDNS serving instance: %s", err)