From e3ec7394ab0d912cbfb5c8958b139aa1d8dc47d6 Mon Sep 17 00:00:00 2001 From: Makpoc Date: Wed, 21 Oct 2015 02:18:33 +0300 Subject: [PATCH] fix go vet error --- middleware/fileserver_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()