Skip to content

Commit 5ad94dd

Browse files
bootjpCopilot
andauthored
Update store/lsm_store_test.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3e87b30 commit 5ad94dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

store/lsm_store_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ func TestPebbleStore_SnapshotRestoreLargeValues(t *testing.T) {
275275

276276
s2, err := NewPebbleStore(dir2)
277277
require.NoError(t, err)
278-
defer s2.Close()
278+
defer func() { assert.NoError(t, s2.Close()) }()
279279

280280
require.NoError(t, s2.Restore(bytes.NewReader(raw.Bytes())))
281281

0 commit comments

Comments
 (0)