aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/blockcodecs/codecs_ut.cpp
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-02-10 16:45:12 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:12 +0300
commit49116032d905455a7b1c994e4a696afc885c1e71 (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /library/cpp/blockcodecs/codecs_ut.cpp
parent4e839db24a3bbc9f1c610c43d6faaaa99824dcca (diff)
downloadydb-49116032d905455a7b1c994e4a696afc885c1e71.tar.gz
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/blockcodecs/codecs_ut.cpp')
-rw-r--r--library/cpp/blockcodecs/codecs_ut.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/library/cpp/blockcodecs/codecs_ut.cpp b/library/cpp/blockcodecs/codecs_ut.cpp
index 829d6bbf62..bfe5a23690 100644
--- a/library/cpp/blockcodecs/codecs_ut.cpp
+++ b/library/cpp/blockcodecs/codecs_ut.cpp
@@ -324,17 +324,17 @@ Y_UNIT_TEST_SUITE(TBlockCodecsTest) {
UNIT_ASSERT_VALUES_EQUAL(ALL_CODECS, JoinSeq(",", ListAllCodecs()));
}
-
- Y_UNIT_TEST(TestEncodeDecodeIntoString) {
- TStringBuf data = "na gorshke sidel korol";
-
- TCodecList codecs = ListAllCodecs();
- for (const auto& codec : codecs) {
- const ICodec* c = Codec(codec);
- TString encoded = c->Encode(data);
- TString decoded = c->Decode(encoded);
-
- UNIT_ASSERT_VALUES_EQUAL(decoded, data);
- }
- }
+
+ Y_UNIT_TEST(TestEncodeDecodeIntoString) {
+ TStringBuf data = "na gorshke sidel korol";
+
+ TCodecList codecs = ListAllCodecs();
+ for (const auto& codec : codecs) {
+ const ICodec* c = Codec(codec);
+ TString encoded = c->Encode(data);
+ TString decoded = c->Decode(encoded);
+
+ UNIT_ASSERT_VALUES_EQUAL(decoded, data);
+ }
+ }
}