All sorts of test scaffolding works now

This commit is contained in:
2025-02-20 18:06:44 +01:00
parent 9d744550c1
commit 9e7648bc72
41 changed files with 1230 additions and 436 deletions

View File

@@ -140,7 +140,7 @@ impl Variants {
(Some((r, ..)), None) => &s[r.end..],
(None, None) => s,
};
let str_item = FmtElement::String(Rc::new(string.to_string()));
let str_item = FmtElement::String(Rc::new(string.replace("{{", "{").replace("}}", "}")));
match r {
None => itertools::Either::Left([str_item]),
Some((_, idx, bounded)) =>