Skip exception test in valgrind run.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include "../extern/catch.hpp"
|
||||
#include "../src/Library/Exceptions/CreatureException.hpp"
|
||||
|
||||
TEST_CASE("When throwing exception, what() is readable", "[Utilities]") {
|
||||
TEST_CASE("When throwing exception, what() is readable", "[Utilities][Exception]") {
|
||||
bool hasCaught = false;
|
||||
try {
|
||||
THROW_CREATURE("foobar");
|
||||
@@ -16,7 +16,7 @@ TEST_CASE("When throwing exception, what() is readable", "[Utilities]") {
|
||||
REQUIRE(hasCaught);
|
||||
}
|
||||
|
||||
TEST_CASE("C Interface exception", "[Utilities]") {
|
||||
TEST_CASE("C Interface exception", "[Utilities][Exception]") {
|
||||
ExceptionHandler::SetLastArbUtException("foo", ArbUt::Exception("foobar"), 1);
|
||||
REQUIRE(std::string(ExceptionHandler::GetLastException()) == "[foo] foobar");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user