From 691f6df66e05f817df73199da6463000f19a1394 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Thu, 13 May 2021 08:30:02 -0700 Subject: [PATCH] fix staticcheck --- ds_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ds_test.go b/ds_test.go index 9a57eac..727ab56 100644 --- a/ds_test.go +++ b/ds_test.go @@ -290,6 +290,9 @@ func TestDiskUsage(t *testing.T) { } du2, err := d.DiskUsage() + if err != nil { + t.Fatal(err) + } if du2 <= du { t.Fatal("size should have increased") }