mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-11 21:13:02 +00:00
Adjust hover assertion in lsp test after bumping rust-analyzer
This commit is contained in:
parent
e1c12ffac2
commit
be7f5340d0
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue