Removing useless extra parenthesis in assert

This commit is contained in:
Snaipe 2015-03-11 06:38:33 +01:00
parent 15ee9539fa
commit 32fd6376ad

View file

@ -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__)