diff options
Diffstat (limited to 'library/cpp/getopt/ut')
-rw-r--r-- | library/cpp/getopt/ut/last_getopt_ut.cpp | 20 |
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 c99a1d053d..64b46c7da6 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"; |