mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-25 11:05:03 +00: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:
@@ -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