aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/getopt/ut/opt_ut.cpp
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:46 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:46 +0300
commit8cbc307de0221f84c80c42dcbe07d40727537e2c (patch)
tree625d5a673015d1df891e051033e9fcde5c7be4e5 /library/cpp/getopt/ut/opt_ut.cpp
parent30d1ef3941e0dc835be7609de5ebee66958f215a (diff)
downloadydb-8cbc307de0221f84c80c42dcbe07d40727537e2c.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/getopt/ut/opt_ut.cpp')
-rw-r--r--library/cpp/getopt/ut/opt_ut.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/getopt/ut/opt_ut.cpp b/library/cpp/getopt/ut/opt_ut.cpp
index 441aa493a0..ad9d36a45f 100644
--- a/library/cpp/getopt/ut/opt_ut.cpp
+++ b/library/cpp/getopt/ut/opt_ut.cpp
@@ -3,8 +3,8 @@
#include <library/cpp/testing/unittest/registar.h>
#include <util/string/vector.h>
-Y_UNIT_TEST_SUITE(OptTest) {
- Y_UNIT_TEST(TestSimple) {
+Y_UNIT_TEST_SUITE(OptTest) {
+ Y_UNIT_TEST(TestSimple) {
int argc = 3;
char* argv[] = {
(char*)"cmd", (char*)"-x"};
@@ -16,7 +16,7 @@ Y_UNIT_TEST_SUITE(OptTest) {
UNIT_ASSERT_VALUES_EQUAL(EOF, opt.Get());
}
- Y_UNIT_TEST(TestFreeArguments) {
+ Y_UNIT_TEST(TestFreeArguments) {
Opt::Ion options[] = {
{"some-option", Opt::WithArg, nullptr, 123},
{nullptr, Opt::WithoutArg, nullptr, 0}};
@@ -27,7 +27,7 @@ Y_UNIT_TEST_SUITE(OptTest) {
UNIT_ASSERT_VALUES_EQUAL(JoinStrings(opts.GetFreeArgs(), ", "), "ARG1, ARG3");
}
- Y_UNIT_TEST(TestLongOption) {
+ Y_UNIT_TEST(TestLongOption) {
const int SOME_OPTION_ID = 12345678;
Opt::Ion options[] = {
{"some-option", Opt::WithArg, nullptr, SOME_OPTION_ID},