From 81cf474010cdf0591266f78aa7a712979864e89a Mon Sep 17 00:00:00 2001 From: Brad Lewis <22850972+BradLewis@users.noreply.github.com> Date: Tue, 22 Jul 2025 08:30:39 -0400 Subject: Move comments from details to the end of the docs for the symbol and use markdown for completion docs --- src/testing/testing.odin | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/testing') diff --git a/src/testing/testing.odin b/src/testing/testing.odin index d80b727..429d393 100644 --- a/src/testing/testing.odin +++ b/src/testing/testing.odin @@ -265,7 +265,8 @@ expect_hover :: proc(t: ^testing.T, src: ^Source, expect_hover_string: string) { return } - content_without_markdown, _ := strings.remove(hover.contents.value[8:], "\n```", 1, context.temp_allocator) + first_strip, _ := strings.remove(hover.contents.value, "```odin\n", 2, context.temp_allocator) + content_without_markdown, _ := strings.remove(first_strip, "\n```", 2, 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