From 005f3826c9f27e1bfbc4d44998a609fbf87849d8 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 12 Dec 2017 14:12:38 +1030 Subject: [PATCH] wallet/tests: add mocks for futureproofing. Signed-off-by: Rusty Russell --- wallet/test/run-db.c | 3 +++ wallet/test/run-wallet.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/wallet/test/run-db.c b/wallet/test/run-db.c index f44a44eb8..0c6de001e 100644 --- a/wallet/test/run-db.c +++ b/wallet/test/run-db.c @@ -10,6 +10,9 @@ static void db_fatal(const char *fmt, ...); #include #include +/* AUTOGENERATED MOCKS START */ +/* AUTOGENERATED MOCKS END */ + static char *db_err; static void db_fatal(const char *fmt, ...) { diff --git a/wallet/test/run-wallet.c b/wallet/test/run-wallet.c index e4656dc9e..7d6b15eea 100644 --- a/wallet/test/run-wallet.c +++ b/wallet/test/run-wallet.c @@ -14,6 +14,9 @@ static void wallet_fatal(const char *fmt, ...); #include #include +/* AUTOGENERATED MOCKS START */ +/* AUTOGENERATED MOCKS END */ + static char *wallet_err; static void wallet_fatal(const char *fmt, ...) {