summaryrefslogtreecommitdiff
path: root/src/fs/virtfsphys_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/virtfsphys_unittest.cc')
-rw-r--r--src/fs/virtfsphys_unittest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/virtfsphys_unittest.cc b/src/fs/virtfsphys_unittest.cc
index 93f86db64..79acaa434 100644
--- a/src/fs/virtfsphys_unittest.cc
+++ b/src/fs/virtfsphys_unittest.cc
@@ -20,6 +20,7 @@
#include "catch.hpp"
+#include "fs/paths.h"
#include "fs/virtfs.h"
#include "fs/virtfsphys.h"
#include "fs/virtfstools.h"
@@ -52,6 +53,7 @@ TEST_CASE("VirtFsPhys getUserDir")
{
VirtFsPhys::initFuncs();
REQUIRE(VirtFsPhys::getUserDir() != nullptr);
+ REQUIRE(VirtFsPhys::getUserDir() == getHomePath());
}
TEST_CASE("VirtFsPhys exists")