Merge pull request #1501 from gwenn/clippy

Fix clippy warning
This commit is contained in:
gwenn
2024-05-11 09:55:09 +02:00
committed by GitHub

View File

@@ -1700,7 +1700,7 @@ mod test {
let db = Connection::open_in_memory()?;
assert_eq!("memory", db.one_column::<String>("PRAGMA journal_mode")?);
let mode = db.one_column::<String>("PRAGMA journal_mode=off")?;
if cfg!(features = "bundled") {
if cfg!(feature = "bundled") {
assert_eq!(mode, "off");
} else {
// Note: system SQLite on macOS defaults to "off" rather than