summaryrefslogtreecommitdiff
path: root/test/minibuffer.c
diff options
context:
space:
mode:
authorAlbert Cervin <albert@acervin.com>2023-04-06 21:28:23 +0200
committerAlbert Cervin <albert@acervin.com>2023-04-06 21:28:23 +0200
commita8e6015bd5d46132f62a64e62f80a199260dc62d (patch)
treed6f2ceb162c99af54af9641f373906daa6f4ef1b /test/minibuffer.c
parentf828f30709b2ce76bf41a768aca5948459f268d2 (diff)
downloaddged-a8e6015bd5d46132f62a64e62f80a199260dc62d.tar.gz
dged-a8e6015bd5d46132f62a64e62f80a199260dc62d.tar.xz
dged-a8e6015bd5d46132f62a64e62f80a199260dc62d.zip
failed to update tests on last one
Diffstat (limited to 'test/minibuffer.c')
-rw-r--r--test/minibuffer.c4
1 files changed, 3 insertions, 1 deletions
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);
}