aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/getopt/ut/last_getopt_ut.cpp
diff options
context:
space:
mode:
authordiver <diver@yandex-team.ru>2022-02-10 16:48:07 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:07 +0300
commite20e2b362f0232ed5a389db887e6e27e7763af18 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/getopt/ut/last_getopt_ut.cpp
parent7629e1f9ef7f9d2a3c345c97e6a4e5a4b32ee786 (diff)
downloadydb-e20e2b362f0232ed5a389db887e6e27e7763af18.tar.gz
Restoring authorship annotation for <diver@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.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/getopt/ut/last_getopt_ut.cpp b/library/cpp/getopt/ut/last_getopt_ut.cpp
index 64b46c7da6..c99a1d053d 100644
--- a/library/cpp/getopt/ut/last_getopt_ut.cpp
+++ b/library/cpp/getopt/ut/last_getopt_ut.cpp
@@ -591,19 +591,19 @@ Y_UNIT_TEST_SUITE(TLastGetoptTests) {
}
Y_UNIT_TEST(TestCustomCmdLineDescr) {
- TOpts opts;
- const char* prog = "my_program";
+ TOpts opts;
+ const char* prog = "my_program";
TString customDescr = "<FILE|TABLE> USER [OPTIONS]";
- int argc = 2;
+ int argc = 2;
const char* cmd[] = {prog};
- opts.SetCmdLineDescr(customDescr);
- TOptsParser parser(&opts, argc, cmd);
- TStringStream out;
- parser.PrintUsage(out);
- // find custom usage
+ opts.SetCmdLineDescr(customDescr);
+ TOptsParser parser(&opts, argc, cmd);
+ TStringStream out;
+ parser.PrintUsage(out);
+ // find custom usage
UNIT_ASSERT(out.Str().find(customDescr) != TString::npos);
- }
-
+ }
+
Y_UNIT_TEST(TestColorPrint) {
TOpts opts;
const char* prog = "my_program";