Add minimal test for cache_flush

This commit is contained in:
gwenn 2021-07-03 17:03:58 +02:00
parent 653e64ab98
commit 1970b60109

View File

@ -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()
}
} }