Skip to content
This repository has been archived by the owner on Mar 29, 2023. It is now read-only.

Commit

Permalink
fix staticcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Jun 2, 2021
1 parent 8adf174 commit 7ebda61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webfile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 7ebda61

Please sign in to comment.