aboutsummaryrefslogtreecommitdiff
path: root/test/hosts_file_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/hosts_file_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/hosts_file_test.go')
-rw-r--r--test/hosts_file_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/hosts_file_test.go b/test/hosts_file_test.go
index b0e2ae23b..1c29f5391 100644
--- a/test/hosts_file_test.go
+++ b/test/hosts_file_test.go
@@ -8,11 +8,11 @@ import (
func TestHostsInlineLookup(t *testing.T) {
corefile := `example.org:0 {
- hosts highly_unlikely_to_exist_hosts_file example.org {
- 10.0.0.1 example.org
- fallthrough
- }
- }`
+ hosts highly_unlikely_to_exist_hosts_file example.org {
+ 10.0.0.1 example.org
+ fallthrough
+ }
+ }`
i, udp, _, err := CoreDNSServerAndPorts(corefile)
if err != nil {