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()?;
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