fix: cleanup #1

Merged
McPeakML merged 2 commits from worktree-disable-auth into main 2026-08-10 08:47:58 -04:00
Showing only changes of commit 41fac552c5 - Show all commits

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]