aboutsummaryrefslogtreecommitdiff
path: root/tests/completions_test.odin
diff options
context:
space:
mode:
Diffstat (limited to 'tests/completions_test.odin')
-rw-r--r--tests/completions_test.odin6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/completions_test.odin b/tests/completions_test.odin
index 033813b..53c7fe6 100644
--- a/tests/completions_test.odin
+++ b/tests/completions_test.odin
@@ -28,7 +28,7 @@ ast_simple_struct_completion :: proc(t: ^testing.T) {
t,
&source,
".",
- {"My_Struct.one: int", "My_Struct.two: int\n// test comment", "My_Struct.three: int"},
+ {"My_Struct.one: int", "My_Struct.two: int\n---\ntest comment", "My_Struct.three: int"},
)
}
@@ -3296,7 +3296,7 @@ ast_completion_struct_documentation :: proc(t: ^testing.T) {
packages = packages[:],
}
- test.expect_completion_docs(t, &source, "", {"Foo.bazz: my_package.My_Struct\n// bazz"})
+ test.expect_completion_docs(t, &source, "", {"Foo.bazz: my_package.My_Struct\n---\nbazz"})
}
@(test)
@@ -3417,7 +3417,7 @@ ast_completion_poly_struct_another_package :: proc(t: ^testing.T) {
packages = packages[:],
}
- test.expect_completion_docs(t, &source, "", {"Runner.state: test.State\n// state"})
+ test.expect_completion_docs(t, &source, "", {"Runner.state: test.State\n---\nstate"})
}
@(test)