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.
1 parent 7b3de3d commit ac29da7Copy full SHA for ac29da7
Tests/SQLiteTests/StatementTests.swift
@@ -37,13 +37,8 @@ class StatementTests: SQLiteTestCase {
37
38
/// Check that a statement reset will close the implicit transaction, allowing wal file to checkpoint
39
func test_reset_statement() throws {
40
- // Remove old test db if any
41
- let path = temporaryFile() + ".sqlite3"
42
- try? FileManager.default.removeItem(atPath: path)
43
- try? FileManager.default.removeItem(atPath: path + "-shm")
44
- try? FileManager.default.removeItem(atPath: path + "-wal")
45
-
46
// create new db on disk in wal mode
+ let path = temporaryFile() + ".sqlite3"
47
let db = try Connection(.uri(path))
48
try db.run("PRAGMA journal_mode=WAL;")
49
0 commit comments