summaryrefslogtreecommitdiff
path: root/src/unittests/fs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-01 21:24:59 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-01 21:54:48 +0300
commitf5e3f241af190e487c0499dae0efc12e9ae2d202 (patch)
tree295bac3fa27cfff3c78d664b49b01ff51b723b77 /src/unittests/fs
parent13c5cc47aca547c1f3ca02e26672557823b844ee (diff)
downloadmanaverse-f5e3f241af190e487c0499dae0efc12e9ae2d202.tar.gz
manaverse-f5e3f241af190e487c0499dae0efc12e9ae2d202.tar.bz2
manaverse-f5e3f241af190e487c0499dae0efc12e9ae2d202.tar.xz
manaverse-f5e3f241af190e487c0499dae0efc12e9ae2d202.zip
Fix code style.
Diffstat (limited to 'src/unittests/fs')
-rw-r--r--src/unittests/fs/virtfs/throw.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/unittests/fs/virtfs/throw.cc b/src/unittests/fs/virtfs/throw.cc
index e2472f618..91298dfa1 100644
--- a/src/unittests/fs/virtfs/throw.cc
+++ b/src/unittests/fs/virtfs/throw.cc
@@ -107,11 +107,6 @@ TEST_CASE("throw VirtFs1 exists2", "")
TEST_CASE("throw Zip readCompressedFile", "")
{
logger = new Logger();
- std::string name("data/test/test.zip");
- std::string prefix;
- if (Files::existsLocal(name) == false)
- prefix = "../";
-
SECTION("empty")
{
REQUIRE_THROWS(VirtFs::ZipReader::readCompressedFile(nullptr));
@@ -123,10 +118,6 @@ TEST_CASE("throw Zip readCompressedFile", "")
TEST_CASE("throw Zip readFile", "")
{
logger = new Logger();
- std::string name("data/test/test.zip");
- std::string prefix;
- if (Files::existsLocal(name) == false)
- prefix = "../";
SECTION("empty")
{
@@ -140,11 +131,7 @@ TEST_CASE("throw VirtFs1 unmount", "")
{
VirtFs::init(".");
logger = new Logger();
- std::string name("data/test/test.zip");
- std::string prefix;
const std::string sep = dirSeparator;
- if (Files::existsLocal(name) == false)
- prefix = "../";
SECTION("simple 1")
{