From 41fac552c51bb9ddf76929c59c127b1258deab2b Mon Sep 17 00:00:00 2001 From: Matthew L McPeak Date: Mon, 10 Aug 2026 08:41:37 -0400 Subject: [PATCH] style: fix rustfmt formatting CI's fmt --check step was failing on an unformatted assert_eq! line. --- src/routes/crud.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/routes/crud.rs b/src/routes/crud.rs index 1652632..86e127f 100644 --- a/src/routes/crud.rs +++ b/src/routes/crud.rs @@ -471,7 +471,10 @@ mod tests { fn test_build_update_casts_json_array_to_jsonb() { let cols = vec![("tags".into(), serde_json::json!(["a", "b"]))]; let (sql, _, _) = build_query("PUT", "items", Some("1"), &cols, &[]).unwrap(); - assert_eq!(sql, "UPDATE items SET tags = $1::jsonb WHERE id = $2 RETURNING *"); + assert_eq!( + sql, + "UPDATE items SET tags = $1::jsonb WHERE id = $2 RETURNING *" + ); } #[test]