diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-17 01:00:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-17 01:00:00 +0300 |
commit | 32c6bb7373618dcf234191e439f5afdaf21d012a (patch) | |
tree | 1962e9e518d026052972be4a3de607abd3b832b6 /src/fs/virtfs | |
parent | 09c01b8bad6e91945eb1374a21306604728004ca (diff) | |
download | manaverse-32c6bb7373618dcf234191e439f5afdaf21d012a.tar.gz manaverse-32c6bb7373618dcf234191e439f5afdaf21d012a.tar.bz2 manaverse-32c6bb7373618dcf234191e439f5afdaf21d012a.tar.xz manaverse-32c6bb7373618dcf234191e439f5afdaf21d012a.zip |
Fix possible tests error in some situations.
Diffstat (limited to 'src/fs/virtfs')
-rw-r--r-- | src/fs/virtfs/virtfs1_unittest.cc | 2 |
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 |