diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2022-06-11 22:50:34 +0200 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2022-06-11 22:50:34 +0200 |
| commit | 7f3d3d2c5c88e528d59ca5fd5ae823f2e1b21ea9 (patch) | |
| tree | 7331a6ba5212fdb1b8611fc8777a988127d2eb90 /src/testing/testing.odin | |
| parent | 4dcbd44dbf63f2b365c315f481b70ecc946e9f56 (diff) | |
forgot file
Diffstat (limited to 'src/testing/testing.odin')
| -rw-r--r-- | src/testing/testing.odin | 4 |
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); /* |