fix: pass pointer to reducer in test_dispatch

Co-authored-by: aider (deepseek/deepseek-coder) <aider@aider.chat>
This commit is contained in:
Loic Coenen
2026-05-05 10:09:09 +00:00
parent eba0d3f05f
commit 7d1b50ee82

View File

@@ -11,7 +11,7 @@
static AppState g_state;
static void test_dispatch(Action action) {
g_state = reducer(g_state, action);
reducer(&g_state, action);
}
static void test_cli_parse(void) {