aboutsummaryrefslogtreecommitdiff
path: root/hotline/files_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hotline/files_test.go')
-rw-r--r--hotline/files_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hotline/files_test.go b/hotline/files_test.go
index 0a7eb7b..9bed670 100644
--- a/hotline/files_test.go
+++ b/hotline/files_test.go
@@ -148,7 +148,7 @@ func TestCalcItemCount(t *testing.T) {
if err != nil {
t.Fatalf("Failed to create temp dir: %v", err)
}
- defer os.RemoveAll(tempDir)
+ defer func() { _ = os.RemoveAll(tempDir) }()
// Create the test directory structure
if err := createTestDirStructure(tempDir, tt.structure); err != nil {