aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorDaniel Gavin <danielgavin5@hotmail.com>2022-03-04 12:17:00 +0100
committerDaniel Gavin <danielgavin5@hotmail.com>2022-03-04 12:17:00 +0100
commit58287455d64ab16091522bf8a358b079ef05daad (patch)
tree7b6655d6d34b5ad6d719523e4938b8002c43d8ab /src/testing
parent63d0bd412a8817445d6dc18e79d5d54c94caf401 (diff)
strip colons and update ast to use unions
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 4a40f16..d6c01c8 100644
--- a/src/testing/testing.odin
+++ b/src/testing/testing.odin
@@ -38,7 +38,7 @@ setup :: proc(src: ^Source) {
src.document.allocator = new(common.Scratch_Allocator);
src.document.package_name = "test";
- common.scratch_allocator_init(src.document.allocator, mem.kilobytes(20), context.temp_allocator);
+ common.scratch_allocator_init(src.document.allocator, mem.kilobytes(200), context.temp_allocator);
//no unicode in tests currently
current, last: u8;
@@ -111,7 +111,7 @@ setup :: proc(src: ^Source) {
if !ok || file.syntax_error_count > 0 {
panic("Parser error in test package source");
}
-
+
if ret := index.collect_symbols(&index.indexer.static_index.collection, file, uri.uri); ret != .None {
return;
}