Skip to content

Commit

Permalink
fix: linter warning (ethereum#25192)
Browse files Browse the repository at this point in the history
  • Loading branch information
gballet authored and HanWang233 committed Sep 11, 2022
1 parent c77e41b commit 26a6211
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions common/fdlimit/fdlimit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
package fdlimit

import (
"fmt"
"testing"
)

Expand All @@ -30,7 +29,7 @@ func TestFileDescriptorLimits(t *testing.T) {
t.Fatal(err)
}
if hardlimit < target {
t.Skip(fmt.Sprintf("system limit is less than desired test target: %d < %d", hardlimit, target))
t.Skipf("system limit is less than desired test target: %d < %d", hardlimit, target)
}

if limit, err := Current(); err != nil || limit <= 0 {
Expand Down

0 comments on commit 26a6211

Please sign in to comment.