From ce5985b9a1bb9d77f88ef1953b6af69400b0e36f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Barna=C5=9B?= Date: Wed, 17 Aug 2022 15:44:34 +0200 Subject: [PATCH] ztest: improve comments for ztest assert macros MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move params in comment about zassert and zassume macros. Signed-off-by: Michał Barnaś --- subsys/testsuite/ztest/include/zephyr/ztest_assert.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subsys/testsuite/ztest/include/zephyr/ztest_assert.h b/subsys/testsuite/ztest/include/zephyr/ztest_assert.h index 482f70e5027..7e3811869f4 100644 --- a/subsys/testsuite/ztest/include/zephyr/ztest_assert.h +++ b/subsys/testsuite/ztest/include/zephyr/ztest_assert.h @@ -127,8 +127,8 @@ static inline bool z_zassume(bool cond, const char *default_msg, const char *fil * context of the test function. * * @param cond Condition to check - * @param msg Optional, can be NULL. Message to print if @a cond is false. * @param default_msg Message to print if @a cond is false + * @param msg Optional, can be NULL. Message to print if @a cond is false. */ #define zassert(cond, default_msg, msg, ...) \ do { \ @@ -158,8 +158,8 @@ static inline bool z_zassume(bool cond, const char *default_msg, const char *fil * failures only. * * @param cond Condition to check - * @param msg Optional, can be NULL. Message to print if @a cond is false. * @param default_msg Message to print if @a cond is false + * @param msg Optional, can be NULL. Message to print if @a cond is false. */ #define zassume(cond, default_msg, msg, ...) \ do { \