Fix tests
This commit is contained in:
parent
4e3ed0f4c1
commit
f1990b782d
@ -488,12 +488,12 @@ pub(crate) mod tests {
|
||||
);
|
||||
assert_eq!(
|
||||
inst.long_description_html,
|
||||
SafeString::new("<p><a href=\"/with_link\">long_description</a></p>\n")
|
||||
SafeString::new("<p dir=\"auto\"><a href=\"/with_link\">long_description</a></p>\n")
|
||||
);
|
||||
assert_eq!(inst.short_description.get(), "[short](#link)");
|
||||
assert_eq!(
|
||||
inst.short_description_html,
|
||||
SafeString::new("<p><a href=\"#link\">short</a></p>\n")
|
||||
SafeString::new("<p dir=\"auto\"><a href=\"#link\">short</a></p>\n")
|
||||
);
|
||||
assert_eq!(inst.default_license, "CC-BY-SAO".to_owned());
|
||||
Ok(())
|
||||
|
Loading…
Reference in New Issue
Block a user