summaryrefslogtreecommitdiff
path: root/src/utils/files_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-24 02:12:55 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-24 02:12:55 +0300
commit10de3936d6da2fa17565d36715ea5af81727a5c8 (patch)
treed487cb9f9739901484499f062e1db0bf5435a4c5 /src/utils/files_unittest.cc
parent07a9b9009f7b05fc39540430fa6639b493ed9829 (diff)
downloadmanaverse-10de3936d6da2fa17565d36715ea5af81727a5c8.tar.gz
manaverse-10de3936d6da2fa17565d36715ea5af81727a5c8.tar.bz2
manaverse-10de3936d6da2fa17565d36715ea5af81727a5c8.tar.xz
manaverse-10de3936d6da2fa17565d36715ea5af81727a5c8.zip
Fix unit tests.
Diffstat (limited to 'src/utils/files_unittest.cc')
-rw-r--r--src/utils/files_unittest.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/utils/files_unittest.cc b/src/utils/files_unittest.cc
index 5d227834e..b10c5acda 100644
--- a/src/utils/files_unittest.cc
+++ b/src/utils/files_unittest.cc
@@ -34,9 +34,8 @@ TEST_CASE("Files renameFile", "files")
PHYSFS_init("manaplus");
dirSeparator = "/";
logger = new Logger();
- const ResourceManager *const resman = ResourceManager::getInstance();
- resman->addToSearchPath("data", false);
- resman->addToSearchPath("../data", false);
+ resourceManager->addToSearchPath("data", false);
+ resourceManager->addToSearchPath("../data", false);
const int sz = 1234567;
char *buf = new char[sz];