This commit is contained in:
parent
faaa4cdc9b
commit
34362a2cd7
@ -10,8 +10,7 @@ TEST_CASE("Assert throws if false", "[Utilities]") { REQUIRE_THROWS(TestWrapper(
|
||||
TEST_CASE("Assert throws if false with message", "[Utilities]") {
|
||||
try {
|
||||
TestWrapper(false);
|
||||
}
|
||||
catch (const ArbUt::Exception& e) {
|
||||
} catch (const ArbUt::Exception& e) {
|
||||
REQUIRE(strcmp(e.what(), "ASSERTION FAILED: [AssertTests.cpp (3)] \"wrapperExpression\"") == 0);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user