mirror of
https://github.com/isar/rusqlite.git
synced 2025-09-13 19:22: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);
|
||||
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