aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorDaniel Gavin <danielgavin5@hotmail.com>2022-01-12 15:26:11 +0100
committerDaniel Gavin <danielgavin5@hotmail.com>2022-01-12 15:26:11 +0100
commitbd3f707d8e0a717df49b7bf702a5b98d214b0381 (patch)
treeda5be249507adde933a9d76a4eaa09949da5bf57 /src/testing
parente8d2c76db829c59e88d5342f1c4385354cc9546f (diff)
Fix issues with no completion on identifier in comp literal.
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/testing.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testing/testing.odin b/src/testing/testing.odin
index bd4e39b..c9c515d 100644
--- a/src/testing/testing.odin
+++ b/src/testing/testing.odin
@@ -41,8 +41,6 @@ setup :: proc(src: ^Source) {
common.scratch_allocator_init(src.document.allocator, mem.kilobytes(20), context.temp_allocator);
- server.document_refresh(src.document, &src.config, nil);
-
//no unicode in tests currently
current, last: u8;
current_line, current_character: int;
@@ -70,6 +68,8 @@ setup :: proc(src: ^Source) {
last = current;
}
+ server.document_refresh(src.document, &src.config, nil);
+
/*
There is a lot code here that is used in the real code, then i'd like to see.
*/