Revert accidentally change

This commit is contained in:
Peng Guanwen 2019-01-12 17:25:01 +08:00
parent c027cd97d6
commit 80786a2fbb

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]