Review #996: rustfmt

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
bflatasticandClaude Opus 5.5 committed 2026-10-11 01:46:59 +07:00
1 parent 3b742b6c0c
commit 2f458842ae
1 file changed
+1 -6
+1 -6
View File
@@ -273,12 +273,7 @@ fn collecting_explicit_assets_rejects_invalid_ids_without_adding_anything() {
let b = rect(&mut s, 50.0, 10.0, 20.0, 20.0);
let original_selection = s.doc().unwrap().selection.objects.clone();
let before = undo_len(&s);
for ids in [
json!([a, "not an object"]),
json!([a, 3.5]),
json!([a, u64::MAX]),
json!({"id": a}),
] {
for ids in [json!([a, "not an object"]), json!([a, 3.5]), json!([a, u64::MAX]), json!({"id": a})] {
assert!(s.execute("assets.add", &json!({"ids": ids})).is_err(), "invalid ids: {ids}");
assert!(assets(&mut s).is_empty(), "invalid ids must not collect only the valid subset");
assert_eq!(undo_len(&s), before);