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
commitebe95a44a99a2982f3d625f1dd31751baec804eb (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/getopt/ut/last_getopt_ut.cpp
parent7a8bfeeee3a2a91c8b26e196d49efc264a0f9941 (diff)
downloadydb-ebe95a44a99a2982f3d625f1dd31751baec804eb.tar.gz
Restoring authorship annotation for <moskupols@yandex-team.ru>. Commit 2 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 bfb790b78c..c99a1d053d 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;