Minor refactoring/formatting fixes
This commit is contained in:
parent
cbefcdcad7
commit
f9bff6acab
3 changed files with 8 additions and 8 deletions
|
|
@ -73,7 +73,8 @@ mod tests {
|
|||
|
||||
#[test]
|
||||
fn render_anchor() {
|
||||
let anchor = Anchor::new("AnchorText", "AnchorDest", true, false, false);
|
||||
let anchor =
|
||||
Anchor::new("AnchorText", "AnchorDest", true, false, false);
|
||||
assert_eq!(
|
||||
anchor.render(),
|
||||
r#"<a href="/node/AnchorDest">AnchorText</a>"#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue