diff options
Diffstat (limited to 'asl/testing/testing.hpp')
-rw-r--r-- | asl/testing/testing.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/asl/testing/testing.hpp b/asl/testing/testing.hpp index 3b4a421..8ea73a3 100644 --- a/asl/testing/testing.hpp +++ b/asl/testing/testing.hpp @@ -46,6 +46,6 @@ struct Test if (EXPR) {} \ else { ::asl::testing::report_failure(#EXPR); return; } -#define ASL_TEST_EXPECT(EXPR) \ - if (EXPR) {} \ - else { ::asl::testing::report_failure(#EXPR); } +#define ASL_TEST_EXPECT(...) \ + if (__VA_ARGS__) {} \ + else { ::asl::testing::report_failure(#__VA_ARGS__); } |