aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/resource
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/resource
parent30d1ef3941e0dc835be7609de5ebee66958f215a (diff)
downloadydb-8cbc307de0221f84c80c42dcbe07d40727537e2c.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/resource')
-rw-r--r--library/cpp/resource/registry.cpp4
-rw-r--r--library/cpp/resource/ut/resource_ut.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/resource/registry.cpp b/library/cpp/resource/registry.cpp
index 66001c4769..f9e4ca0bf7 100644
--- a/library/cpp/resource/registry.cpp
+++ b/library/cpp/resource/registry.cpp
@@ -69,8 +69,8 @@ namespace {
}
void FindMatch(const TStringBuf subkey, IMatch& cb) const override {
- for (const auto& it : *this) {
- if (it.first.StartsWith(subkey)) {
+ for (const auto& it : *this) {
+ if (it.first.StartsWith(subkey)) {
// temporary
// https://st.yandex-team.ru/DEVTOOLS-3985
try {
diff --git a/library/cpp/resource/ut/resource_ut.cpp b/library/cpp/resource/ut/resource_ut.cpp
index b6fa8e4df3..68b34485cf 100644
--- a/library/cpp/resource/ut/resource_ut.cpp
+++ b/library/cpp/resource/ut/resource_ut.cpp
@@ -1,8 +1,8 @@
#include <library/cpp/resource/resource.h>
#include <library/cpp/testing/unittest/registar.h>
-Y_UNIT_TEST_SUITE(TestResource) {
- Y_UNIT_TEST(Test1) {
+Y_UNIT_TEST_SUITE(TestResource) {
+ Y_UNIT_TEST(Test1) {
UNIT_ASSERT_VALUES_EQUAL(NResource::Find("/x"), "na gorshke sidel korol\n");
}
}