From 99a71c58a1e455bd9c4befde3c64d0304c5dcaf8 Mon Sep 17 00:00:00 2001 From: Daniel Milde Date: Tue, 22 Jun 2021 17:32:00 +0200 Subject: [PATCH] do not check symlink disk usage as it depends on FS implementation fixes #58 --- pkg/analyze/dir_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/analyze/dir_test.go b/pkg/analyze/dir_test.go index 78948650a..c5338d41d 100644 --- a/pkg/analyze/dir_test.go +++ b/pkg/analyze/dir_test.go @@ -79,7 +79,6 @@ func TestFlags(t *testing.T) { assert.Equal(t, "nested", dir.Files[0].GetName()) assert.Equal(t, "file3", dir.Files[0].(*Dir).Files[1].GetName()) assert.Equal(t, int64(21), dir.Files[0].(*Dir).Files[1].GetSize()) - assert.Equal(t, int64(0), dir.Files[0].(*Dir).Files[1].GetUsage()) assert.Equal(t, '@', dir.Files[0].(*Dir).Files[1].GetFlag()) assert.Equal(t, 'e', dir.Files[1].GetFlag())