Skip to content

Commit fc8f40b

Browse files
author
wafuwafu13
committed
disable ineffassign in test
1 parent cd52937 commit fc8f40b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ issues:
1818
linters:
1919
- errcheck
2020
- staticcheck
21+
- ineffassign

check-windows-eventlog/lib/check_windows_eventlog_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ func TestRun(t *testing.T) {
146146
}
147147
testError()
148148

149-
lastNumber = recordNumber // nolint
149+
lastNumber = recordNumber
150150

151151
origArgs = []string{"-s", dir, "--log", "Application", "-r"}
152152
args = make([]string, len(origArgs))

0 commit comments

Comments
 (0)