diff --git a/middleware/fileserver_test.go b/middleware/fileserver_test.go index 8ed6ff78..c9434a7a 100644 --- a/middleware/fileserver_test.go +++ b/middleware/fileserver_test.go @@ -168,7 +168,7 @@ func beforeServeHttpTest(t *testing.T) { // and fill them with content _, err = f.WriteString(fileContent) if err != nil { - t.Fatal("Failed to write to %s. Error was: %v", absFile, err) + t.Fatalf("Failed to write to %s. Error was: %v", absFile, err) return } f.Close()