Lint
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 2m50s
Cargo CI / Lint (pull_request) Successful in 1m7s

This commit is contained in:
Wojciech Kozlowski 2025-01-12 10:03:16 +01:00
parent 701719834e
commit 21ba413df4

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(_)));
}