Skip to content

Commit e5e3b03

Browse files
gballetblakehhuynh
authored andcommitted
fix: linter warning (ethereum#25192)
1 parent 1d38c04 commit e5e3b03

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

common/fdlimit/fdlimit_test.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
package fdlimit
1818

1919
import (
20-
"fmt"
2120
"testing"
2221
)
2322

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

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

0 commit comments

Comments
 (0)