style: fix rustfmt formatting
All checks were successful
ci / build-ui (pull_request) Successful in 14s
ci / test (pull_request) Successful in 3m19s
ci / publish (pull_request) Has been skipped

CI's fmt --check step was failing on an unformatted assert_eq! line.
This commit is contained in:
Matthew McPeak 2026-08-10 08:41:37 -04:00
parent 2d95265e7d
commit 41fac552c5

View file

@ -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]