Fix tests.
This commit is contained in:
parent
81c0b7079f
commit
876d042c37
@ -194,6 +194,7 @@ mod tests {
|
|||||||
use crate::context::GlobalSettings;
|
use crate::context::GlobalSettings;
|
||||||
use crate::context::List;
|
use crate::context::List;
|
||||||
use crate::parser::element_parser::element;
|
use crate::parser::element_parser::element;
|
||||||
|
use crate::types::CitationReference;
|
||||||
use crate::types::Element;
|
use crate::types::Element;
|
||||||
use crate::types::GetStandardProperties;
|
use crate::types::GetStandardProperties;
|
||||||
|
|
||||||
@ -221,7 +222,16 @@ mod tests {
|
|||||||
.get(0)
|
.get(0)
|
||||||
.expect("Len already asserted to be 1"),
|
.expect("Len already asserted to be 1"),
|
||||||
&Object::Citation(Citation {
|
&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![]
|
||||||
|
}]
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user