summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fs/virtfsphys_unittest.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fs/virtfsphys_unittest.cc b/src/fs/virtfsphys_unittest.cc
index 79acaa434..a70402668 100644
--- a/src/fs/virtfsphys_unittest.cc
+++ b/src/fs/virtfsphys_unittest.cc
@@ -372,14 +372,16 @@ TEST_CASE("VirtFsPhys getRealDir")
REQUIRE(VirtFsPhys::getRealDir("test") == "data");
REQUIRE(VirtFsPhys::getRealDir("test/test.txt") ==
"data");
- REQUIRE(VirtFsPhys::getRealDir("dir/hide.png") == "data/test/test.zip");
+ REQUIRE(VirtFsPhys::getRealDir("dir/hide.png") ==
+ "data/test/test.zip");
}
else
{
REQUIRE(VirtFsPhys::getRealDir("test") == "../data");
REQUIRE(VirtFsPhys::getRealDir("test/test.txt") ==
"../data");
- REQUIRE(VirtFsPhys::getRealDir("dir/hide.png") == "../data/test/test.zip");
+ REQUIRE(VirtFsPhys::getRealDir("dir/hide.png") ==
+ "../data/test/test.zip");
}
REQUIRE(VirtFsPhys::exists("dir/hide.png"));
REQUIRE(VirtFsPhys::getRealDir("zzz") == "");