diff --git a/processor_test.go b/processor_test.go index 2ebcb11..3c8ab67 100644 --- a/processor_test.go +++ b/processor_test.go @@ -571,6 +571,7 @@ func TestProcessor_Serialization(t *testing.T) { tempFile, err := os.CreateTemp("", "state-*.json.tmp") require.NoError(t, err) + defer os.Remove(tempFile.Name()) serialzer := NewJsonSerializer[MyOverallContext, MyJobContext](tempFile.Name())