Update to new THROW macro.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-11-21 12:39:07 +01:00
parent 54eddba913
commit f1d706b356
13 changed files with 30 additions and 37 deletions

View File

@@ -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);
}