Skip to content

Commit

Permalink
cleanup converted path in sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
bonega committed Oct 27, 2024
1 parent 9a2714a commit 8319512
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sqlx-sqlite/src/testing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ impl TestSupport for Sqlite {
}

fn cleanup_test(db_name: &str) -> BoxFuture<'_, Result<(), Error>> {
let db_name = convert_path(db_name);
Box::pin(async move { Ok(crate::fs::remove_file(db_name).await?) })
}

Expand Down

0 comments on commit 8319512

Please sign in to comment.