mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-22 19:41:03 +00:00
Fix tests
This commit is contained in:
parent
4e3ed0f4c1
commit
f1990b782d
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue