Fix lint error

This commit is contained in:
Ian Davis 2022-11-15 15:25:15 +00:00
parent bf1fcf88b1
commit e2ddc9745c

View File

@ -67,7 +67,9 @@ func TestEventIndexPrefillFilter(t *testing.T) {
workDir, err := os.MkdirTemp("", "lotusevents")
require.NoError(t, err, "create temporary work directory")
defer os.RemoveAll(workDir)
defer func() {
_ = os.RemoveAll(workDir)
}()
t.Logf("using work dir %q", workDir)
dbPath := filepath.Join(workDir, "actorevents.db")