Skip to content

Commit

Permalink
fix: revive warning: unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
KEINOS committed Feb 12, 2024
1 parent 90d37c8 commit 55b31eb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,12 @@
run:
# Include test files.
tests: true
# Fail fast.
fast: true

# List of build tags, all linters use it. Default is empty list.
build-tags:
- golangci

# Which dirs to skip. Issues from them won't be reported.
skip-dirs:
- .github

# Allow multiple parallel golangci-lint instances running.
allow-parallel-runners: true

Expand Down
2 changes: 1 addition & 1 deletion argonize_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func TestNewSalt(t *testing.T) {
oldRandRead := argonize.RandRead
defer func() { argonize.RandRead = oldRandRead }()

argonize.RandRead = func(b []byte) (int, error) {
argonize.RandRead = func(_ []byte) (int, error) {
return 0, errors.New("forced error")
}

Expand Down

0 comments on commit 55b31eb

Please sign in to comment.