aboutsummaryrefslogtreecommitdiff
path: root/test/reload_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-08-24 11:35:14 +0100
committerGravatar GitHub <noreply@github.com> 2017-08-24 11:35:14 +0100
commitf901b0cefa1475c83e6b6dc859ef35675feb41e1 (patch)
tree93d6d067e1ffe7bb8cea40921d99b5088a12acb8 /test/reload_test.go
parentea53f8c21973494d485677ca284116382ab5fa7d (diff)
downloadcoredns-f901b0cefa1475c83e6b6dc859ef35675feb41e1.tar.gz
coredns-f901b0cefa1475c83e6b6dc859ef35675feb41e1.tar.zst
coredns-f901b0cefa1475c83e6b6dc859ef35675feb41e1.zip
tests: CoreDNSServerAndPorts (#972)
* tests: CoreDNSServerAndPorts Copy from kubernetes.go and renamed to fit the style, adapted almost all callers. This is a mechanicl change, no testdata was changed. * typos
Diffstat (limited to 'test/reload_test.go')
-rw-r--r--test/reload_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/reload_test.go b/test/reload_test.go
index 0f9db5059..61fc76b26 100644
--- a/test/reload_test.go
+++ b/test/reload_test.go
@@ -45,6 +45,6 @@ func send(t *testing.T, server string) {
t.Fatalf("Expected successful reply, got %s", dns.RcodeToString[r.Rcode])
}
if len(r.Extra) != 2 {
- t.Fatalf("Expected 2 RRs in additional, got %d", len(r.Extra))
+ t.Fatalf("Expected 2 RRs in additional, got %s", len(r.Extra))
}
}