pub fn check(kit: &KitData) -> Vec<Problem>Expand description
Every problem of a kit: reading it, and resolving its theme over the
built-in ones. An application’s tests call it on the kits it embeds,
since kit! checks nothing when compiling:
let kit = egui_pop_tokens::kit::KitData::from_text(
"k",
r##"
tab:
rest:
fil: {$type: "color", $value: "#000000"}
"##,
);
let problems = egui_pop_tokens::kit::check(&kit);
assert_eq!(problems.len(), 1, "{problems:?}");