Fix tests.

This commit is contained in:
Tom Alexander 2023-10-09 15:54:30 -04:00
parent 81c0b7079f
commit 876d042c37
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -194,6 +194,7 @@ mod tests {
use crate::context::GlobalSettings;
use crate::context::List;
use crate::parser::element_parser::element;
use crate::types::CitationReference;
use crate::types::Element;
use crate::types::GetStandardProperties;
@ -221,7 +222,16 @@ mod tests {
.get(0)
.expect("Len already asserted to be 1"),
&Object::Citation(Citation {
source: "[cite:@foo]"
source: "[cite:@foo]",
style: None,
prefix: vec![],
suffix: vec![],
children: vec![CitationReference {
source: "@foo",
key: "foo",
prefix: vec![],
suffix: vec![]
}]
})
);
}