Fix lint error
This commit is contained in:
parent
bf1fcf88b1
commit
e2ddc9745c
@ -67,7 +67,9 @@ func TestEventIndexPrefillFilter(t *testing.T) {
|
|||||||
workDir, err := os.MkdirTemp("", "lotusevents")
|
workDir, err := os.MkdirTemp("", "lotusevents")
|
||||||
require.NoError(t, err, "create temporary work directory")
|
require.NoError(t, err, "create temporary work directory")
|
||||||
|
|
||||||
defer os.RemoveAll(workDir)
|
defer func() {
|
||||||
|
_ = os.RemoveAll(workDir)
|
||||||
|
}()
|
||||||
t.Logf("using work dir %q", workDir)
|
t.Logf("using work dir %q", workDir)
|
||||||
|
|
||||||
dbPath := filepath.Join(workDir, "actorevents.db")
|
dbPath := filepath.Join(workDir, "actorevents.db")
|
||||||
|
Loading…
Reference in New Issue
Block a user