update test to new function definition

This commit is contained in:
Simon Fraser 2015-07-30 17:34:58 +01:00
parent 1a591f9828
commit b823f08bb6
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ func TestDisk_usage(t *testing.T) {
} }
func TestDisk_partitions(t *testing.T) { func TestDisk_partitions(t *testing.T) {
ret, err := DiskPartitions(false) ret, err := DiskPartitions([])
if err != nil || len(ret) == 0 { if err != nil || len(ret) == 0 {
t.Errorf("error %v", err) t.Errorf("error %v", err)
} }