Adjust hover assertion in lsp test after bumping rust-analyzer

This commit is contained in:
Max Brunsfeld 2022-01-28 12:11:26 -08:00
parent e1c12ffac2
commit be7f5340d0

View file

@ -589,7 +589,7 @@ mod tests {
use util::test::temp_tree; use util::test::temp_tree;
#[gpui::test] #[gpui::test]
async fn test_basic(cx: TestAppContext) { async fn test_rust_analyzer(cx: TestAppContext) {
let lib_source = r#" let lib_source = r#"
fn fun() { fn fun() {
let hello = "world"; let hello = "world";
@ -645,7 +645,7 @@ mod tests {
assert_eq!( assert_eq!(
hover.contents, hover.contents,
HoverContents::Markup(MarkupContent { HoverContents::Markup(MarkupContent {
kind: MarkupKind::Markdown, kind: MarkupKind::PlainText,
value: "&str".to_string() value: "&str".to_string()
}) })
); );