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