remove nolint

This commit is contained in:
Evan Simkowitz 2023-12-12 17:40:05 -08:00
parent 5d39815dea
commit 414937911e
No known key found for this signature in database

View File

@ -51,7 +51,7 @@ func TestDiff(t *testing.T) {
testDiff(t, Str3, Str1)
}
func testArithmetic(t *testing.T, fn func() (int, error), shouldError bool, expected int) { // nolint: unparam
func testArithmetic(t *testing.T, fn func() (int, error), shouldError bool, expected int) {
retVal, err := fn()
if err != nil {
if !shouldError {