More fixes for Assert.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
aa1b90554f
commit
638a414961
@ -17,4 +17,4 @@
|
||||
#define Assert(expr)
|
||||
#endif
|
||||
|
||||
#define AssertNotNull(value) Assert(value != nullptr)
|
||||
#define AssertNotNull(value) Assert(value != nullptr);
|
@ -20,5 +20,4 @@ TEST_CASE("Multiple asserts", "[Utilities]") {
|
||||
Assert(true);
|
||||
}
|
||||
|
||||
|
||||
TEST_CASE("AssertNotNull throws if nullptr", "[Utilities]") { REQUIRE_THROWS(TestWrapperNotNull(nullptr)); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user