From a8e6015bd5d46132f62a64e62f80a199260dc62d Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Thu, 6 Apr 2023 21:28:23 +0200 Subject: failed to update tests on last one --- test/minibuffer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/minibuffer.c') diff --git a/test/minibuffer.c b/test/minibuffer.c index 391b302..4e2b7f1 100644 --- a/test/minibuffer.c +++ b/test/minibuffer.c @@ -4,6 +4,7 @@ #include "allocator.h" #include "buffer.h" +#include "command.h" #include "display.h" #include "minibuffer.h" #include "settings.h" @@ -16,7 +17,8 @@ void *alloc_fn(size_t sz) { return frame_allocator_alloc(g_alloc, sz); } void init() { if (b.name == NULL) { - settings_init(10); + struct commands commands = command_registry_create(10); + settings_init(10, &commands); b = buffer_create("minibuffer", false); } -- cgit v1.2.3