Skip to content

Commit

Permalink
chore: Satisfy golint
Browse files Browse the repository at this point in the history
  • Loading branch information
timo-reymann committed Aug 28, 2022
1 parent fa71ecb commit eae4b09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/zip/compression.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"errors"
)

// ErrInvalidCompressionMethod occurs when an invalid compression method is choosen
// ErrInvalidCompressionMethod occurs when an invalid compression method is chosen
var ErrInvalidCompressionMethod = errors.New("invalid compression method")

// Deflate algorithm
Expand Down
2 changes: 1 addition & 1 deletion pkg/zip/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ func TestCreate(t *testing.T) {
}

if tc.config.ZipFile != tempFileZip {
t.Fatalf("Expected final zip name to be overriden")
t.Fatalf("Expected final zip name to be overridden")
}

r, err := zip.OpenReader(tempFileZip)
Expand Down

0 comments on commit eae4b09

Please sign in to comment.