mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
remove nolint
This commit is contained in:
@@ -51,7 +51,7 @@ func TestDiff(t *testing.T) {
|
|||||||
testDiff(t, Str3, Str1)
|
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()
|
retVal, err := fn()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if !shouldError {
|
if !shouldError {
|
||||||
|
|||||||
Reference in New Issue
Block a user