style: fix rustfmt formatting
CI's fmt --check step was failing on an unformatted assert_eq! line.
This commit is contained in:
parent
2d95265e7d
commit
41fac552c5
1 changed files with 4 additions and 1 deletions
|
|
@ -471,7 +471,10 @@ mod tests {
|
||||||
fn test_build_update_casts_json_array_to_jsonb() {
|
fn test_build_update_casts_json_array_to_jsonb() {
|
||||||
let cols = vec![("tags".into(), serde_json::json!(["a", "b"]))];
|
let cols = vec![("tags".into(), serde_json::json!(["a", "b"]))];
|
||||||
let (sql, _, _) = build_query("PUT", "items", Some("1"), &cols, &[]).unwrap();
|
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]
|
#[test]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue