mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-28 01:10:54 +01:00
Tests: count the six Paper Cutouts styles among the built-in library styles
The built-in library style-name test expects 86 distinct names, which main set before the Paper Cutouts library added six. It now expects 92.
This commit is contained in:
1 parent
f02f35a7da
commit
c76b27f8d4
1 file changed
+1
-1
@@ -668,7 +668,7 @@ fn built_in_library_style_names_are_in_complete_catalogs() {
|
||||
.flat_map(|(_, lib)| lib.styles.iter().map(|s| s.name.clone()).collect::<Vec<_>>())
|
||||
.collect(),
|
||||
);
|
||||
assert_eq!(names.len(), 86, "{names:?}");
|
||||
assert_eq!(names.len(), 92, "{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