diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/hover_test.odin | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/hover_test.odin b/tests/hover_test.odin index 8a41efc..6ecfbd9 100644 --- a/tests/hover_test.odin +++ b/tests/hover_test.odin @@ -5599,6 +5599,19 @@ ast_hover_index_function_call :: proc(t: ^testing.T) { } test.expect_hover(t, &source, "test.x: int") } + +@(test) +ast_hover_local_proc_docs :: proc(t: ^testing.T) { + source := test.Source { + main = `package test + main :: proc() { + // foo doc + f{*}oo :: proc() {} + } + `, + } + test.expect_hover(t, &source, "test.foo :: proc()\n foo doc") +} /* Waiting for odin fix |