aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/testing.odin4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testing/testing.odin b/src/testing/testing.odin
index c8ccc17..093e1bd 100644
--- a/src/testing/testing.odin
+++ b/src/testing/testing.odin
@@ -39,7 +39,7 @@ setup :: proc(src: ^Source) {
common.scratch_allocator_init(src.document.allocator, mem.Kilobyte * 200, context.temp_allocator);
//no unicode in tests currently
- current, last: u8;
+ current, last: u8;
current_line, current_character: int;
for current_index := 0; current_index < len(src.main); current_index += 1 {
@@ -65,6 +65,8 @@ setup :: proc(src: ^Source) {
last = current;
}
+ server.document_setup(src.document)
+
server.document_refresh(src.document, &src.config, nil);
/*