Removing useless extra parenthesis in assert
This commit is contained in:
parent
15ee9539fa
commit
32fd6376ad
1 changed files with 2 additions and 2 deletions
|
@ -55,8 +55,8 @@ enum criterion_assert_kind {
|
|||
|
||||
// Common asserts
|
||||
|
||||
# define assert(Condition, ...) assert_impl(FATAL, (Condition), "" __VA_ARGS__)
|
||||
# define expect(Condition, ...) assert_impl(NORMAL, (Condition), "" __VA_ARGS__)
|
||||
# define assert(Condition, ...) assert_impl(FATAL, Condition, "" __VA_ARGS__)
|
||||
# define expect(Condition, ...) assert_impl(NORMAL, Condition, "" __VA_ARGS__)
|
||||
|
||||
# define assert_not(Condition, ...) assert(!(Condition), "" __VA_ARGS__)
|
||||
# define expect_not(Condition, ...) expect(!(Condition), "" __VA_ARGS__)
|
||||
|
|
Loading…
Add table
Reference in a new issue