Skip to content

Commit 2ccc7c0

Browse files
committed
Database connection closed at the end of test_cacheDatabaseIndices unit test
1 parent f661c45 commit 2ccc7c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

TestFoundation/TestURLCache.swift

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ class TestURLCache: XCTestCase {
8686
}
8787

8888
XCTAssertTrue(indicesNotExist.count == 0, "Indices not created: \(indicesNotExist.map({ $0.key }).joined(separator: ", "))")
89+
sqlite3_close_v2(db!)
8990
}
9091

9192
}

0 commit comments

Comments
 (0)