summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-17 01:00:00 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-17 01:00:00 +0300
commit32c6bb7373618dcf234191e439f5afdaf21d012a (patch)
tree1962e9e518d026052972be4a3de607abd3b832b6 /src
parent09c01b8bad6e91945eb1374a21306604728004ca (diff)
downloadplus-32c6bb7373618dcf234191e439f5afdaf21d012a.tar.gz
plus-32c6bb7373618dcf234191e439f5afdaf21d012a.tar.bz2
plus-32c6bb7373618dcf234191e439f5afdaf21d012a.tar.xz
plus-32c6bb7373618dcf234191e439f5afdaf21d012a.zip
Fix possible tests error in some situations.
Diffstat (limited to 'src')
-rw-r--r--src/fs/virtfs/virtfs1_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/virtfs/virtfs1_unittest.cc b/src/fs/virtfs/virtfs1_unittest.cc
index 3d0d73815..61679d2a3 100644
--- a/src/fs/virtfs/virtfs1_unittest.cc
+++ b/src/fs/virtfs/virtfs1_unittest.cc
@@ -1475,7 +1475,7 @@ TEST_CASE("VirtFs1 getRealDir3")
REQUIRE(VirtFs::getRealDir("dir") == "");
if (dir1 == true)
{
- REQUIRE(VirtFs::getRealDir("file1.txt") == "data");
+ REQUIRE(VirtFs::getRealDir("file1.txt") == "data" + sep + "test");
REQUIRE(VirtFs::getRealDir("simplefile.txt") == "data" + sep + "test");
}
else