From 32c6bb7373618dcf234191e439f5afdaf21d012a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 17 May 2017 01:00:00 +0300 Subject: Fix possible tests error in some situations. --- src/fs/virtfs/virtfs1_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fs') 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 -- cgit v1.2.3-70-g09d2