Browse Source

Revert accidentally change

index-subcmd
Peng Guanwen 5 years ago
parent
commit
80786a2fbb
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      components/rendering/tests/markdown.rs

+ 2
- 2
components/rendering/tests/markdown.rs View File

@@ -668,8 +668,8 @@ fn can_validate_valid_external_links() {
&permalinks_ctx,
InsertAnchor::None,
);
let res = render_content("[a link](http://bing.com)", &context).unwrap();
assert_eq!(res.body, "<p><a href=\"http://bing.com\">a link</a></p>\n");
let res = render_content("[a link](http://google.com)", &context).unwrap();
assert_eq!(res.body, "<p><a href=\"http://google.com\">a link</a></p>\n");
}

#[test]


Loading…
Cancel
Save