summaryrefslogtreecommitdiffstats
path: root/test/json.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/json.c')
-rw-r--r--test/json.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/json.c b/test/json.c
index e8499bee39..9997cdc892 100644
--- a/test/json.c
+++ b/test/json.c
@@ -67,7 +67,7 @@ static const struct entry entries[] = {
#define MAX_DEPTH 10
-static void run(void)
+static void run(struct test_ctx *ctx)
{
for (int n = 0; n < MP_ARRAY_SIZE(entries); n++) {
const struct entry *e = &entries[n];
@@ -91,5 +91,5 @@ static void run(void)
const struct unittest test_json = {
.name = "json",
- .run_simple = run,
+ .run = run,
};