Add a SQLite database backend #265
@ -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(_)));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user