From b823f08bb675da318640ab9ec76c47ed7d697adb Mon Sep 17 00:00:00 2001 From: Simon Fraser Date: Thu, 30 Jul 2015 17:34:58 +0100 Subject: [PATCH] update test to new function definition --- plugins/system/ps/disk/disk_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/system/ps/disk/disk_test.go b/plugins/system/ps/disk/disk_test.go index 04776b1d8..8270d14d2 100644 --- a/plugins/system/ps/disk/disk_test.go +++ b/plugins/system/ps/disk/disk_test.go @@ -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) }