Fix tests.

This commit is contained in:
Tom Alexander 2023-10-07 01:01:04 -04:00
parent 8d621b32dc
commit 029791e0b2
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -187,7 +187,9 @@ mod tests {
.expect("Len already asserted to be 3"),
&Object::RadioLink(RadioLink {
source: "bar ",
children: vec![Object::PlainText(PlainText { source: "bar" })]
children: vec![Object::PlainText(PlainText { source: "bar" })],
path: "bar".into(),
raw_link: "bar".into()
})
);
}
@ -229,7 +231,9 @@ mod tests {
children: vec![Object::Bold(Bold {
source: "*bar* ",
children: vec![Object::PlainText(PlainText { source: "bar" })]
})]
})],
path: "*bar* ".into(),
raw_link: "*bar* ".into()
})
);
}