diff --git a/src/librustdoc/html/markdown/tests.rs b/src/librustdoc/html/markdown/tests.rs
index 9da3072ec282f..dceafd6458c41 100644
--- a/src/librustdoc/html/markdown/tests.rs
+++ b/src/librustdoc/html/markdown/tests.rs
@@ -201,8 +201,8 @@ fn test_short_markdown_summary() {
t("Hard-break \nsummary", "Hard-break summary");
t("hello [Rust] :)\n\n[Rust]: https://www.rust-lang.org", "hello Rust :)");
t("hello [Rust](https://www.rust-lang.org \"Rust\") :)", "hello Rust :)");
- t("code `let x = i32;` ...", "code let x = i32;
...");
- t("type `Type<'static>` ...", "type Type<'static>
...");
+ t("code `let x = i32;` ...", "code let x = i32;
…");
+ t("type `Type<'static>` ...", "type Type<'static>
…");
t("# top header", "top header");
t("## header", "header");
t("first paragraph\n\nsecond paragraph", "first paragraph");
@@ -227,8 +227,8 @@ fn test_plain_text_summary() {
t("Hard-break \nsummary", "Hard-break summary");
t("hello [Rust] :)\n\n[Rust]: https://www.rust-lang.org", "hello Rust :)");
t("hello [Rust](https://www.rust-lang.org \"Rust\") :)", "hello Rust :)");
- t("code `let x = i32;` ...", "code `let x = i32;` ...");
- t("type `Type<'static>` ...", "type `Type<'static>` ...");
+ t("code `let x = i32;` ...", "code `let x = i32;` …");
+ t("type `Type<'static>` ...", "type `Type<'static>` …");
t("# top header", "top header");
t("## header", "header");
t("first paragraph\n\nsecond paragraph", "first paragraph");
@@ -250,6 +250,6 @@ fn test_markdown_html_escape() {
}
t("`Struct<'a, T>`", "
Struct<'a, T>
Struct<'a, T>
\n"); + t("Struct<'a, T>", "Struct<’a, T>
\n"); t("StructStruct<br>
\n"); }