Lint
This commit is contained in:
parent
701719834e
commit
21ba413df4
@ -432,7 +432,9 @@ mod tests {
|
|||||||
then!(tx, seq, expect_insert_artist)
|
then!(tx, seq, expect_insert_artist)
|
||||||
.return_once(|_| Err(Error::SerDeError(String::from("serde"))));
|
.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(_)));
|
assert!(matches!(error, SaveError::SerDeError(_)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user