update test to new function definition
This commit is contained in:
parent
1a591f9828
commit
b823f08bb6
|
@ -23,7 +23,7 @@ func TestDisk_usage(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestDisk_partitions(t *testing.T) {
|
||||
ret, err := DiskPartitions(false)
|
||||
ret, err := DiskPartitions([])
|
||||
if err != nil || len(ret) == 0 {
|
||||
t.Errorf("error %v", err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue