aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-08-11 19:59:03 -0400
committerBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-08-11 19:59:03 -0400
commitf43f8593b1b6c54104d3ff20470e5217592b5405 (patch)
tree5352c0e7d198b3701fd077541672e6f5018b52fe /src/testing
parent03cbe19af2b3c74519be11c4de220eb9d36fa90d (diff)
Remove functions, consts, variables and fields when in struct definitions
Diffstat (limited to 'src/testing')
-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)
}
}