mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
Fix mixed indentation within tests (#3855)
Signed-off-by: Ambrose Chua <ambrose@chua.family>
This commit is contained in:
@@ -17,9 +17,9 @@ func TestLookupCache(t *testing.T) {
|
||||
defer rm()
|
||||
|
||||
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)
|
||||
@@ -28,10 +28,10 @@ func TestLookupCache(t *testing.T) {
|
||||
|
||||
// Start caching forward CoreDNS that we want to test.
|
||||
corefile = `example.org:0 {
|
||||
forward . ` + udp + `
|
||||
cache 10
|
||||
}
|
||||
`
|
||||
forward . ` + udp + `
|
||||
cache 10
|
||||
}`
|
||||
|
||||
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