Fix clippy warning

This commit is contained in:
gwenn 2024-05-11 09:48:53 +02:00
parent 6d9f01c06e
commit f78b64697a

View File

@ -1684,7 +1684,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