From 37a10318ff18277ed76f2170ed23c3a5c5e1cc13 Mon Sep 17 00:00:00 2001 From: Kushal-Chandar <83660514+Kushal-Chandar@users.noreply.github.com> Date: Mon, 24 Oct 2022 09:41:29 +0530 Subject: [PATCH] fix: typo in drogon_test.h (#1419) --- lib/inc/drogon/drogon_test.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/inc/drogon/drogon_test.h b/lib/inc/drogon/drogon_test.h index 342fe1cf..f51c0d8f 100644 --- a/lib/inc/drogon/drogon_test.h +++ b/lib/inc/drogon/drogon_test.h @@ -774,14 +774,14 @@ static int run(int argc, char** argv) { \ } -#define PRINT_ERR_NOEXCEPTION__(expr, func_name) \ - do \ - { \ - if (!TEST_FLAG_) \ - ERROR_MSG(func_name, expr) \ - << "With expecitation\n" \ - << " Expected to throw an exception. But non are " \ - "thrown.\n\n"; \ +#define PRINT_ERR_NOEXCEPTION__(expr, func_name) \ + do \ + { \ + if (!TEST_FLAG_) \ + ERROR_MSG(func_name, expr) \ + << "With expecitation\n" \ + << " Expected to throw an exception. But none are " \ + "thrown.\n\n"; \ } while (0); #define PRINT_ERR_WITHEXCEPTION__(expr, func_name) \