diff options
Diffstat (limited to 'crates/ra_ide_api/src/hover.rs')
-rw-r--r-- | crates/ra_ide_api/src/hover.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/hover.rs b/crates/ra_ide_api/src/hover.rs index 0f13777d7..bcd052c8b 100644 --- a/crates/ra_ide_api/src/hover.rs +++ b/crates/ra_ide_api/src/hover.rs | |||
@@ -531,7 +531,7 @@ mod tests { | |||
531 | ", | 531 | ", |
532 | ); | 532 | ); |
533 | let hover = analysis.hover(position).unwrap().unwrap(); | 533 | let hover = analysis.hover(position).unwrap().unwrap(); |
534 | assert_eq!(hover.info.first(), Some("```rust\nfn new() -> Thing\n```")); | 534 | assert_eq!(trim_markup_opt(hover.info.first()), Some("fn new() -> Thing")); |
535 | assert_eq!(hover.info.is_exact(), true); | 535 | assert_eq!(hover.info.is_exact(), true); |
536 | } | 536 | } |
537 | } | 537 | } |