mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-09 21:12:19 +08:00
Add minimal test for cache_flush
This commit is contained in:
@@ -1963,4 +1963,11 @@ mod test {
|
|||||||
assert_eq!(row_id, 1);
|
assert_eq!(row_id, 1);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
#[cfg(feature = "modern_sqlite")]
|
||||||
|
fn test_cache_flush() -> Result<()> {
|
||||||
|
let db = checked_memory_handle();
|
||||||
|
db.cache_flush()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user