aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/getopt/ut/last_getopt_ut.cpp
diff options
context:
space:
mode:
authormoskupols <moskupols@yandex-team.ru>2022-02-10 16:50:52 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:52 +0300
commit7a8bfeeee3a2a91c8b26e196d49efc264a0f9941 (patch)
tree1b8e23cfad053b844f02054a0d30f8d1c355859f /library/cpp/getopt/ut/last_getopt_ut.cpp
parentdd6b55b11723e4bb5b0cf7bffc0e45f15e2e46d3 (diff)
downloadydb-7a8bfeeee3a2a91c8b26e196d49efc264a0f9941.tar.gz
Restoring authorship annotation for <moskupols@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/getopt/ut/last_getopt_ut.cpp')
-rw-r--r--library/cpp/getopt/ut/last_getopt_ut.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/library/cpp/getopt/ut/last_getopt_ut.cpp b/library/cpp/getopt/ut/last_getopt_ut.cpp
index c99a1d053d..bfb790b78c 100644
--- a/library/cpp/getopt/ut/last_getopt_ut.cpp
+++ b/library/cpp/getopt/ut/last_getopt_ut.cpp
@@ -713,19 +713,19 @@ Y_UNIT_TEST_SUITE(TLastGetoptTests) {
UNIT_ASSERT_VALUES_EQUAL(19, ints.at(1));
}
- Y_UNIT_TEST(TestEmplaceTo) {
- TVector<std::tuple<TString>> richPaths;
-
- TOptsNoDefault opts;
- opts.AddLongOption("path").EmplaceTo(&richPaths);
-
- TOptsParseResultTestWrapper r(&opts, V({"cmd", "--path=<a=b>//cool", "--path=//nice"}));
-
- UNIT_ASSERT_VALUES_EQUAL(size_t(2), richPaths.size());
- UNIT_ASSERT_VALUES_EQUAL("<a=b>//cool", std::get<0>(richPaths.at(0)));
- UNIT_ASSERT_VALUES_EQUAL("//nice", std::get<0>(richPaths.at(1)));
- }
-
+ Y_UNIT_TEST(TestEmplaceTo) {
+ TVector<std::tuple<TString>> richPaths;
+
+ TOptsNoDefault opts;
+ opts.AddLongOption("path").EmplaceTo(&richPaths);
+
+ TOptsParseResultTestWrapper r(&opts, V({"cmd", "--path=<a=b>//cool", "--path=//nice"}));
+
+ UNIT_ASSERT_VALUES_EQUAL(size_t(2), richPaths.size());
+ UNIT_ASSERT_VALUES_EQUAL("<a=b>//cool", std::get<0>(richPaths.at(0)));
+ UNIT_ASSERT_VALUES_EQUAL("//nice", std::get<0>(richPaths.at(1)));
+ }
+
Y_UNIT_TEST(TestKVHandler) {
TStringBuilder keyvals;