Skip to content

Commit

Permalink
Fix missed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
clarfonthey committed Jul 22, 2024
1 parent 415b11d commit c3ac709
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/content/src/page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ Hello world
&HashMap::new(),
)
.unwrap();
assert_eq!(page.summary, Some("<p>Hello world</p>\n".to_string()));
assert_eq!(page.summary, Some("<p>Hello world</p>".to_string()));
}

#[test]
Expand Down Expand Up @@ -565,7 +565,7 @@ And here's another. [^3]
.unwrap();
assert_eq!(
page.summary,
Some("<p>This page use <sup>1.5</sup> and has footnotes, here\'s one. </p>\n<p>Here's another. </p>\n".to_string())
Some("<p>This page use <sup>1.5</sup> and has footnotes, here\'s one. </p>\n<p>Here's another. </p>".to_string())
);
}

Expand Down

0 comments on commit c3ac709

Please sign in to comment.