summaryrefslogtreecommitdiff
path: root/tests/hover_test.odin
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hover_test.odin')
-rw-r--r--tests/hover_test.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hover_test.odin b/tests/hover_test.odin
index 2f33d73..4a99d19 100644
--- a/tests/hover_test.odin
+++ b/tests/hover_test.odin
@@ -5354,7 +5354,7 @@ ast_hover_parapoly_other_package :: proc(t: ^testing.T) {
append(&packages, test.Package{pkg = "my_package", source = `package my_package
// Docs!
- bar :: proc(_: $T) {}
+ bar :: proc(_: $T) {} // Comment!
`})
source := test.Source {
main = `package test
@@ -5366,7 +5366,7 @@ ast_hover_parapoly_other_package :: proc(t: ^testing.T) {
`,
packages = packages[:],
}
- test.expect_hover(t, &source, "my_package.bar :: proc(_: $T)")
+ test.expect_hover(t, &source, "my_package.bar :: proc(_: $T)\n Docs!\n\n// Comment!")
}
/*