fix: gate init_in_memory as test-only to resolve clippy dead_code warning

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
thibaud-leclere 2026-04-13 10:07:40 +02:00
parent 5b81361190
commit a626666275

View file

@ -10,6 +10,7 @@ pub fn init(db_path: &Path) -> Result<Connection> {
Ok(conn)
}
#[cfg(test)]
pub fn init_in_memory() -> Result<Connection> {
let conn = Connection::open_in_memory()?;
configure(&conn)?;