Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
alfiedotwtf committed Sep 12, 2024
1 parent a18546b commit 4692b0e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion sway-lsp/tests/integration/lsp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,14 @@ pub(crate) async fn hover_request<'a>(
hover_docs
.documentation
.iter()
.for_each(|text| assert!(markup_content.value.contains(text)));
.for_each(|text| {
dbg!(text);
dbg!("");
dbg!(&markup_content.value);
dbg!("");
dbg!(markup_content.value.contains(text));
assert!(markup_content.value.contains(text))
});
} else {
panic!(
"Expected HoverContents::Markup with input {:#?}, got {:?}",
Expand Down

0 comments on commit 4692b0e

Please sign in to comment.