Running into an error parsing one of the partial test templates.
This commit is contained in:
parent
bbb9b8d9d3
commit
bb3449467a
@ -1052,4 +1052,19 @@ mod tests {
|
||||
))
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_full_document_temp() {
|
||||
assert_eq!(
|
||||
super::template(
|
||||
r#"{#level3.level4}{>partialtwo v1="b" v2="b" v3="b" v4="b" v5="b" /}{/level3.level4}"#
|
||||
),
|
||||
Ok::<_, nom::Err<(&str, ErrorKind)>>((
|
||||
"",
|
||||
Template {
|
||||
contents: Body { elements: vec![] }
|
||||
}
|
||||
))
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user