From e07d3a917a3f2682b00a8a71d32c5335ef32d328 Mon Sep 17 00:00:00 2001 From: Anouk Ceyssens Date: Mon, 22 Jul 2024 23:27:52 +0200 Subject: [PATCH] test-daemon: use new assertion macros --- src/test/test-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/test-daemon.c b/src/test/test-daemon.c index b880521025..5d6c52374c 100644 --- a/src/test/test-daemon.c +++ b/src/test/test-daemon.c @@ -19,7 +19,7 @@ int main(int argc, char *argv[]) { if (argc >= 2) { unsigned x; - assert_se(safe_atou(argv[1], &x) >= 0); + ASSERT_OK(safe_atou(argv[1], &x)); duration = x * USEC_PER_SEC; }