@@ -201,8 +201,8 @@ fn test_short_markdown_summary() {
201
201
t ( "Hard-break \n summary" , "Hard-break summary" ) ;
202
202
t ( "hello [Rust] :)\n \n [Rust]: https://www.rust-lang.org" , "hello Rust :)" ) ;
203
203
t ( "hello [Rust](https://www.rust-lang.org \" Rust\" ) :)" , "hello Rust :)" ) ;
204
- t ( "code `let x = i32;` ..." , "code <code>let x = i32;</code> ... " ) ;
205
- t ( "type `Type<'static>` ..." , "type <code>Type<'static></code> ... " ) ;
204
+ t ( "code `let x = i32;` ..." , "code <code>let x = i32;</code> … " ) ;
205
+ t ( "type `Type<'static>` ..." , "type <code>Type<'static></code> … " ) ;
206
206
t ( "# top header" , "top header" ) ;
207
207
t ( "## header" , "header" ) ;
208
208
t ( "first paragraph\n \n second paragraph" , "first paragraph" ) ;
@@ -227,8 +227,8 @@ fn test_plain_text_summary() {
227
227
t ( "Hard-break \n summary" , "Hard-break summary" ) ;
228
228
t ( "hello [Rust] :)\n \n [Rust]: https://www.rust-lang.org" , "hello Rust :)" ) ;
229
229
t ( "hello [Rust](https://www.rust-lang.org \" Rust\" ) :)" , "hello Rust :)" ) ;
230
- t ( "code `let x = i32;` ..." , "code `let x = i32;` ... " ) ;
231
- t ( "type `Type<'static>` ..." , "type `Type<'static>` ... " ) ;
230
+ t ( "code `let x = i32;` ..." , "code `let x = i32;` … " ) ;
231
+ t ( "type `Type<'static>` ..." , "type `Type<'static>` … " ) ;
232
232
t ( "# top header" , "top header" ) ;
233
233
t ( "# top header\n \n followed by some text" , "top header" ) ;
234
234
t ( "## header" , "header" ) ;
@@ -251,6 +251,6 @@ fn test_markdown_html_escape() {
251
251
}
252
252
253
253
t ( "`Struct<'a, T>`" , "<p><code>Struct<'a, T></code></p>\n " ) ;
254
- t ( "Struct<'a, T>" , "<p>Struct<' a, T></p>\n " ) ;
254
+ t ( "Struct<'a, T>" , "<p>Struct<’ a, T></p>\n " ) ;
255
255
t ( "Struct<br>" , "<p>Struct<br></p>\n " ) ;
256
256
}
0 commit comments