mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-25 11:05:03 +00:00
Tests: count the Nature Icons symbols among the built-in library names
The built-in symbol names test expects 37 distinct names now that Nature Icons adds Leaf, Flower, Tree, Mountain and Wave.
This commit is contained in:
@@ -696,7 +696,7 @@ fn built_in_library_symbol_names_are_in_complete_catalogs() {
|
||||
.flat_map(|(_, lib)| lib.doc.symbols.iter().map(|s| s.name.clone()).collect::<Vec<_>>())
|
||||
.collect(),
|
||||
);
|
||||
assert_eq!(names.len(), 32, "{names:?}");
|
||||
assert_eq!(names.len(), 37, "{names:?}");
|
||||
let bad = lacking(&names, |c, n| c.plain(n).is_some());
|
||||
assert!(bad.is_empty(), "{}", bad.join("\n"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user