mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
Fix mixed indentation within tests (#3855)
Signed-off-by: Ambrose Chua <ambrose@chua.family>
This commit is contained in:
@@ -18,16 +18,16 @@ func TestZoneReload(t *testing.T) {
|
||||
defer rm()
|
||||
|
||||
// Corefile with two stanzas
|
||||
corefile := `example.org:0 {
|
||||
file ` + name + ` {
|
||||
reload 1s
|
||||
}
|
||||
}
|
||||
corefile := `
|
||||
example.org:0 {
|
||||
file ` + name + ` {
|
||||
reload 1s
|
||||
}
|
||||
}
|
||||
example.net:0 {
|
||||
file ` + name + `
|
||||
}`
|
||||
|
||||
example.net:0 {
|
||||
file ` + name + `
|
||||
}
|
||||
`
|
||||
i, udp, _, err := CoreDNSServerAndPorts(corefile)
|
||||
if err != nil {
|
||||
t.Fatalf("Could not get CoreDNS serving instance: %s", err)
|
||||
|
||||
Reference in New Issue
Block a user