aboutsummaryrefslogtreecommitdiff
path: root/middleware/file/reload_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'middleware/file/reload_test.go')
-rw-r--r--middleware/file/reload_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/middleware/file/reload_test.go b/middleware/file/reload_test.go
index 1ba9f4bcf..02d789c66 100644
--- a/middleware/file/reload_test.go
+++ b/middleware/file/reload_test.go
@@ -39,7 +39,7 @@ func TestZoneReload(t *testing.T) {
t.Fatalf("expected 5 RRs, got %d", len(z.All()))
}
if err := ioutil.WriteFile(fileName, []byte(reloadZone2Test), 0644); err != nil {
- t.Fatalf("failed to write new zone data", err)
+ t.Fatalf("failed to write new zone data: %s", err)
}
// Could still be racy, but we need to wait a bit for the event to be seen
time.Sleep(1 * time.Second)