Fix mixed indentation within tests (#3855)
Signed-off-by: Ambrose Chua <ambrose@chua.family>
This commit is contained in:
parent
74eabe90e0
commit
ed1f42cf56
31 changed files with 284 additions and 305 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue