Fix tests.
This commit is contained in:
parent
8d621b32dc
commit
029791e0b2
@ -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()
|
||||
})
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user