From 9bbb4b4450b5310a68aa4497a3125674452037d7 Mon Sep 17 00:00:00 2001 From: Brad Lewis <22850972+BradLewis@users.noreply.github.com> Date: Wed, 25 Jun 2025 09:17:22 -0400 Subject: Add proc comments to hover information --- src/testing/testing.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testing') diff --git a/src/testing/testing.odin b/src/testing/testing.odin index 29fbd6f..4500676 100644 --- a/src/testing/testing.odin +++ b/src/testing/testing.odin @@ -252,7 +252,7 @@ expect_hover :: proc(t: ^testing.T, src: ^Source, expect_hover_string: string) { return } - content_without_markdown := hover.contents.value[8:len(hover.contents.value) - 5] + content_without_markdown, _ := strings.remove(hover.contents.value[8:], "\n```", 1, context.temp_allocator) if content_without_markdown != expect_hover_string { log.errorf("Expected hover string:\n%q, but received:\n%q", expect_hover_string, content_without_markdown) -- cgit v1.2.3