Update to new THROW macro.
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:
@@ -10,7 +10,7 @@ TEST_CASE("When throwing exception, what() is readable") {
|
||||
} catch (const ArbUt::Exception& e) {
|
||||
hasCaught = true;
|
||||
INFO(e.what());
|
||||
REQUIRE(std::string(e.what()) == "[ExceptionTests.cpp:9] foobar");
|
||||
REQUIRE(std::string(e.what()) == "[ExceptionTests.cpp:9] \"foobar\"");
|
||||
}
|
||||
REQUIRE(hasCaught);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user