mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-26 19:41: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);
|
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()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user