Format the symbol library test (rustfmt)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-11-02 23:44:01 -05:00
co-authored by Claude Opus 5.5
parent 9a1ac9dad3
commit 14d617f1d4
+3 -1
View File
@@ -362,7 +362,9 @@ mod tests {
let mut src = Document::new(100.0, 100.0);
let n = 4000;
// Names out of alphabetical order, so the order kept is the panel's.
src.symbols = (0..n).map(|i| Symbol { name: format!("s{}", (i * 7919) % n), art: Arc::new(Node::group(NodeId(i as u64 + 1), vec![])), dynamic: false }).collect();
src.symbols = (0..n)
.map(|i| Symbol { name: format!("s{}", (i * 7919) % n), art: Arc::new(Node::group(NodeId(i as u64 + 1), vec![])), dynamic: false })
.collect();
let lib = SymbolLibrary::from_document(&src, &[], "Many".into()).unwrap();
let names = |d: &Document| d.symbols.iter().map(|s| s.name.clone()).collect::<Vec<_>>();
assert_eq!(names(&lib.doc), names(&src));