TEST_CASE(name) ends with a semicolon, which means that if you use it like this:
TEST_CASE(x == 1);
The compiler complains about an empty statement (caused by the redundant semicolon). This can also lead to surprises if this is used in contexts without enclosing braces, so it's not recommended.
Simple solution is just to elide the trailing semicolon.
Clang-Tidy found this.
TEST_CASE(name) ends with a semicolon, which means that if you use it like this:
TEST_CASE(x == 1);
The compiler complains about an empty statement (caused by the redundant semicolon). This can also lead to surprises if this is used in contexts without enclosing braces, so it's not recommended.
Simple solution is just to elide the trailing semicolon.
PR with this is on the way.