diff --git a/files/webfile_test.go b/files/webfile_test.go index 450dffc5b..57a67fe87 100644 --- a/files/webfile_test.go +++ b/files/webfile_test.go @@ -12,7 +12,7 @@ import ( func TestWebFile(t *testing.T) { const content = "Hello world!" s := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - fmt.Fprintf(w, content) + fmt.Fprint(w, content) })) defer s.Close()