ztest: improve comments for ztest assert macros
Move params in comment about zassert and zassume macros. Signed-off-by: Michał Barnaś <mb@semihalf.com>
This commit is contained in:
parent
66e6572a0f
commit
ce5985b9a1
1 changed files with 2 additions and 2 deletions
|
@ -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 { \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue