@@ -95,10 +95,10 @@ func TestProcessContextPaths(t *testing.T) {
9595 }
9696
9797 // Test with tilde expansion (if we can create a file in home directory)
98− tmpDir := t.TempDir()
98+ tmpDir = t.TempDir()
9999 t.Setenv("HOME", tmpDir)
100100 homeTestFile := filepath.Join(tmpDir, "crush_test_file.txt")
101− err := os.WriteFile(homeTestFile, []byte(testContent), 0o644)
101+ err = os.WriteFile(homeTestFile, []byte(testContent), 0o644)
102102 if err == nil {
103103 defer os.Remove(homeTestFile) // Clean up
104104