diff --git a/sway-lsp/tests/integration/lsp.rs b/sway-lsp/tests/integration/lsp.rs index 3fd9ca2dc5b..aa4046878be 100644 --- a/sway-lsp/tests/integration/lsp.rs +++ b/sway-lsp/tests/integration/lsp.rs @@ -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 {:?}",