This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user