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

fix linters #33

Merged
merged 2 commits into from
Jun 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 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 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