Skip to content

Commit 80051b8

Browse files
committed
Removed redundant database close check in migration test.
Signed-off-by: Alexander Adam <alphaone23@gmail.com>
1 parent e6df19b commit 80051b8

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

migration_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,6 @@ func TestApplyFailsOnCanceledContext(t *testing.T) {
601601
dmorph.WithLog(logger),
602602
)
603603

604-
require.NoError(t, db.Close())
605604
require.Error(t, err)
606605
require.ErrorContains(t, err, "context cancelled")
607606
}

0 commit comments

Comments
 (0)