Fix govet+staticcheck issues (#20263)
This is better: https://github.com/golang/go/issues/60529
This commit is contained in:
@@ -23,14 +23,10 @@ package disk
|
||||
import (
|
||||
"os"
|
||||
"reflect"
|
||||
"runtime"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestReadDriveStats(t *testing.T) {
|
||||
if runtime.GOOS == "windows" {
|
||||
t.Skip("skipping this test in windows")
|
||||
}
|
||||
testCases := []struct {
|
||||
stat string
|
||||
expectedIOStats IOStats
|
||||
|
||||
Reference in New Issue
Block a user