diff options
Diffstat (limited to 'src/unittests/utils/chatutils.cc')
-rw-r--r-- | src/unittests/utils/chatutils.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/unittests/utils/chatutils.cc b/src/unittests/utils/chatutils.cc index 69e79db27..64c655f57 100644 --- a/src/unittests/utils/chatutils.cc +++ b/src/unittests/utils/chatutils.cc @@ -55,15 +55,6 @@ PRAGMA48(GCC diagnostic pop) #include "debug.h" -TEST_CASE("chatutils leak test1", "") -{ - logger = new Logger(); - REQUIRE(gui == nullptr); - ResourceManager::cleanOrphans(true); - ResourceManager::deleteInstance(); - delete2(logger); -} - TEST_CASE("chatutils replaceVars", "") { setEnv("SDL_VIDEODRIVER", "dummy"); @@ -276,12 +267,3 @@ TEST_CASE("chatutils textToMe", "") REQUIRE(textToMe("*") == "***"); REQUIRE(textToMe("test line") == "*test line*"); } - -TEST_CASE("chatutils leak test2", "") -{ - logger = new Logger(); - REQUIRE(gui == nullptr); - ResourceManager::cleanOrphans(true); - ResourceManager::deleteInstance(); - delete2(logger); -} |