Skip to content

Commit 1810e6c

Browse files
committed
tests: Fix DB cleanup
1 parent b626ebf commit 1810e6c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

test/named_parameters_execution_test.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ defmodule EctoLibSql.NamedParametersExecutionTest do
3737
File.rm(db_name)
3838
File.rm(db_name <> "-wal")
3939
File.rm(db_name <> "-shm")
40+
File.rm(db_name <> "-journal")
4041
end)
4142

4243
{:ok, state: state, db_name: db_name}

test/security_test.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ defmodule EctoLibSql.SecurityTest do
66
File.rm(db_path)
77
File.rm(db_path <> "-wal")
88
File.rm(db_path <> "-shm")
9+
File.rm(db_path <> "-journal")
910
end
1011

1112
describe "Transaction Isolation ✅" do

0 commit comments

Comments
 (0)