mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
remove nolint
This commit is contained in:
parent
5d39815dea
commit
414937911e
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user