fix(miscellaneous): fix misbehavior of assertions under some build types

This commit is contained in:
2022-04-26 23:04:50 +08:00
parent 099cba38f4
commit 897ee4f283
4 changed files with 24 additions and 19 deletions

View File

@ -53,13 +53,13 @@ void TestAssertionMacros()
{
check(true);
//check(false);
checkf(true, "True!");
//checkf(false, "False!");
checkf(true, TEXT("True!"));
//checkf(false, TEXT("False!"));
always_check(true);
//always_check(false);
always_checkf(true, "True!");
//always_checkf(false, "False!");
always_checkf(true, TEXT("True!"));
//always_checkf(false, TEXT("False!"));
//TestNoEntry();