aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing.odin
diff options
context:
space:
mode:
authorBradley Lewis <22850972+BradLewis@users.noreply.github.com>2025-08-11 20:06:00 -0400
committerGitHub <noreply@github.com>2025-08-11 20:06:00 -0400
commit848d46e939d91c9b5067d2f5b3cc034f20b20612 (patch)
tree4bbf44a1946cffc5bc886aa89775011805b57dbc /src/testing/testing.odin
parent36488812d99059c5a6f4453bf4b176461c125a7f (diff)
parentf43f8593b1b6c54104d3ff20470e5217592b5405 (diff)
Merge pull request #856 from BradLewis/feat/clean-completions-struct-decl
Remove functions, consts, variables and fields when in struct definitions
Diffstat (limited to 'src/testing/testing.odin')
-rw-r--r--src/testing/testing.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/testing.odin b/src/testing/testing.odin
index 200645e..e03e8b5 100644
--- a/src/testing/testing.odin
+++ b/src/testing/testing.odin
@@ -254,7 +254,7 @@ expect_completion_docs :: proc(
for expect_exclude in expect_excluded {
for completion in completion_list.items {
- if expect_exclude == completion.detail {
+ if expect_exclude == get_doc(completion.documentation) {
log.errorf("Expected completion label %v to not be included", expect_exclude)
}
}