diff options
Diffstat (limited to 'test/gc.c')
| -rw-r--r-- | test/gc.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -4,10 +4,7 @@ #define TEST_OBJECT_COUNT 10 KPL_TEST(basic_mark_and_sweep) { - kpl_env env = {}; - kpl_thread thread = { .env = &env }; - kpl_thread *threads = { &thread }; - env.threads = threads; + kpl_thread thread = {}; kpl_memory_allocator_init(&thread.memory_allocator); kpl_gc_init(&thread.gc); kpl_object *objs[TEST_OBJECT_COUNT] = {}; |
