This commit is contained in:
13 files changed
+30
-37
No files matched your search
@@ -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