aboutsummaryrefslogtreecommitdiff
path: root/test/template_upstream_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/template_upstream_test.go')
-rw-r--r--test/template_upstream_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/template_upstream_test.go b/test/template_upstream_test.go
index 0353616ab..7939bff13 100644
--- a/test/template_upstream_test.go
+++ b/test/template_upstream_test.go
@@ -8,7 +8,7 @@ import (
func TestTemplateUpstream(t *testing.T) {
corefile := `.:0 {
- # CNAME
+ # CNAME
template IN ANY cname.example.net. {
match ".*"
answer "cname.example.net. 60 IN CNAME target.example.net."
@@ -20,8 +20,8 @@ func TestTemplateUpstream(t *testing.T) {
match ".*"
answer "target.example.net. 60 IN A 1.2.3.4"
}
-}
-`
+ }`
+
i, udp, _, err := CoreDNSServerAndPorts(corefile)
if err != nil {
t.Fatalf("Could not get CoreDNS serving instance: %s", err)