diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-02-14 23:19:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-02-14 23:19:48 +0300 |
commit | 9e16f95bd0083af4eeacba5850c22d95529cce79 (patch) | |
tree | 924b21a0ffad1369f27f76916eb66604e3b128df /src/unittests/fs/virtfs | |
parent | 1070c686aede19ceb1c359ae0d9bd26874d03d96 (diff) | |
download | manaverse-9e16f95bd0083af4eeacba5850c22d95529cce79.tar.gz manaverse-9e16f95bd0083af4eeacba5850c22d95529cce79.tar.bz2 manaverse-9e16f95bd0083af4eeacba5850c22d95529cce79.tar.xz manaverse-9e16f95bd0083af4eeacba5850c22d95529cce79.zip |
Add unit test for creation window CharCreateDialog.
Diffstat (limited to 'src/unittests/fs/virtfs')
-rw-r--r-- | src/unittests/fs/virtfs/virtfs.cc | 4 | ||||
-rw-r--r-- | src/unittests/fs/virtfs/virtfs1_enumerate.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/unittests/fs/virtfs/virtfs.cc b/src/unittests/fs/virtfs/virtfs.cc index 5bdfda2ea..d316b4ac5 100644 --- a/src/unittests/fs/virtfs/virtfs.cc +++ b/src/unittests/fs/virtfs/virtfs.cc @@ -256,8 +256,8 @@ TEST_CASE("VirtFs enumerateFiles1", "") VirtFs::List *list = nullptr; - const int cnt1 = VirtFs::exists("test/test2.txt") ? 28 : 27; - const int cnt2 = 28; + const int cnt1 = VirtFs::exists("test/test2.txt") ? 29 : 28; + const int cnt2 = 29; VirtFs::permitLinks(false); list = VirtFs::enumerateFiles("test"); diff --git a/src/unittests/fs/virtfs/virtfs1_enumerate.cc b/src/unittests/fs/virtfs/virtfs1_enumerate.cc index 22db74cb2..25f523adf 100644 --- a/src/unittests/fs/virtfs/virtfs1_enumerate.cc +++ b/src/unittests/fs/virtfs/virtfs1_enumerate.cc @@ -82,8 +82,8 @@ TEST_CASE("VirtFs1 enumerateFiles1", "") VirtFs::List *list = nullptr; - const int cnt1 = VirtFs::exists("test/test2.txt") ? 28 : 27; - const int cnt2 = 28; + const int cnt1 = VirtFs::exists("test/test2.txt") ? 29 : 28; + const int cnt2 = 29; VirtFs::permitLinks(false); list = VirtFs::enumerateFiles("test"); |