aboutsummaryrefslogtreecommitdiffstats
path: root/util/folder/filelist_ut.cpp
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/folder/filelist_ut.cpp
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'util/folder/filelist_ut.cpp')
-rw-r--r--util/folder/filelist_ut.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/folder/filelist_ut.cpp b/util/folder/filelist_ut.cpp
index 60db164e56..0cdcdf3d00 100644
--- a/util/folder/filelist_ut.cpp
+++ b/util/folder/filelist_ut.cpp
@@ -5,7 +5,7 @@
#include <library/cpp/testing/unittest/registar.h>
#include <util/system/file.h>
-#include <util/generic/string.h>
+#include <util/generic/string.h>
class TFileListTest: public TTestBase {
UNIT_TEST_SUITE(TFileListTest);
@@ -25,7 +25,7 @@ void TFileListTest::TestSimple() {
TFileList fileList;
fileList.Fill(tempDir().data(), "", "", 1000);
- TString fileName(fileList.Next());
+ TString fileName(fileList.Next());
UNIT_ASSERT_EQUAL(fileName, "subdir" LOCSLASH_S "file");
UNIT_ASSERT_EQUAL(fileList.Next(), nullptr);
}
@@ -41,14 +41,14 @@ void TFileListTest::TestPrefix() {
TFileList fileList;
{
fileList.Fill(tempDir().data(), "good_file", SORT);
- UNIT_ASSERT_EQUAL(TString(fileList.Next()), "good_file1");
- UNIT_ASSERT_EQUAL(TString(fileList.Next()), "good_file2");
+ UNIT_ASSERT_EQUAL(TString(fileList.Next()), "good_file1");
+ UNIT_ASSERT_EQUAL(TString(fileList.Next()), "good_file2");
UNIT_ASSERT_EQUAL(fileList.Next(), nullptr);
}
{
fileList.Fill(tempDir().data(), "bad_file", SORT);
- UNIT_ASSERT_EQUAL(TString(fileList.Next()), "bad_file1");
- UNIT_ASSERT_EQUAL(TString(fileList.Next()), "bad_file2");
+ UNIT_ASSERT_EQUAL(TString(fileList.Next()), "bad_file1");
+ UNIT_ASSERT_EQUAL(TString(fileList.Next()), "bad_file2");
UNIT_ASSERT_EQUAL(fileList.Next(), nullptr);
}
}