Skip to content

Commit

Permalink
fix staticcheck
Browse files Browse the repository at this point in the history
This commit was moved from ipfs/go-ipfs-files@7ebda61
  • Loading branch information
marten-seemann committed Jun 2, 2021
1 parent e43b527 commit f8b03ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/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 f8b03ed

Please sign in to comment.