Add a SQLite database backend #265

Merged
wojtek merged 20 commits from 248---replace-json-file-as-a-database-with-sqlite into main 2025-01-12 10:24:53 +01:00
Showing only changes of commit 21ba413df4 - Show all commits

View File

@ -432,7 +432,9 @@ mod tests {
then!(tx, seq, expect_insert_artist)
.return_once(|_| Err(Error::SerDeError(String::from("serde"))));
let error = database(VecDeque::from([tx])).save(&write_data).unwrap_err();
let error = database(VecDeque::from([tx]))
.save(&write_data)
.unwrap_err();
assert!(matches!(error, SaveError::SerDeError(_)));
}