Skip to content

Commit

Permalink
Merge pull request ipfs/go-ipfs-files#33 from ipfs/fix-linters
Browse files Browse the repository at this point in the history
fix linters

This commit was moved from ipfs/go-ipfs-files@df4b35a
  • Loading branch information
marten-seemann authored Jun 2, 2021
2 parents 7e3fd4f + f8b03ed commit aae0024
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion files/tarwriter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func TestTarWriter(t *testing.T) {
go func() {
defer tw.Close()
if err := tw.WriteFile(tf, ""); err != nil {
t.Fatal(err)
t.Error(err)
}
}()

Expand Down
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 aae0024

Please sign in to comment.