mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: fix store tests on Windows (#2769)
It's just a matter of explicitly closing the database, so that TempDir.removeAll doesn't fail.
This commit is contained in:
@@ -55,4 +55,5 @@ func TestMemoRelationStore(t *testing.T) {
|
||||
}
|
||||
_, err = ts.UpsertMemoRelation(ctx, commentRelation)
|
||||
require.NoError(t, err)
|
||||
ts.Close()
|
||||
}
|
||||
|
Reference in New Issue
Block a user