We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
db.Close()
TestCallsOnClosedDB
1 parent 2118ac0 commit dece3c8Copy full SHA for dece3c8
1 file changed
dialects_test.go
@@ -61,6 +61,7 @@ func TestDialectStatements(t *testing.T) {
61
// TestCallsOnClosedDB verifies that methods fail as expected when called on a closed database connection.
62
func TestCallsOnClosedDB(t *testing.T) {
63
db, _ := openTempSQLite(t)
64
+ db.Close()
65
66
assert.Error(t,
67
dmorph.DialectSQLite().EnsureMigrationTableExists(t.Context(), db, "irrelevant"),
0 commit comments