mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-26 11:31:37 +08:00
Add minimal test for cache_flush
This commit is contained in:
parent
653e64ab98
commit
1970b60109
@ -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()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user