From 21ba413df4760c1e7deec60ff533be6a07514bc2 Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Sun, 12 Jan 2025 10:03:16 +0100 Subject: [PATCH] Lint --- src/external/database/sql/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/external/database/sql/mod.rs b/src/external/database/sql/mod.rs index 85decb7..78a3305 100644 --- a/src/external/database/sql/mod.rs +++ b/src/external/database/sql/mod.rs @@ -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(_))); }