diff options
author | mvel <mvel@yandex-team.ru> | 2022-02-10 16:45:41 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:41 +0300 |
commit | bd30392c4cc92487950adc375c07adf52da1d592 (patch) | |
tree | e8d1a3f19b7fc890bcef6e4cc5de41f1d88c9ac3 /util/memory/blob_ut.cpp | |
parent | 5d50718e66d9c037dc587a0211110b7d25a66185 (diff) | |
download | ydb-bd30392c4cc92487950adc375c07adf52da1d592.tar.gz |
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/memory/blob_ut.cpp')
-rw-r--r-- | util/memory/blob_ut.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/memory/blob_ut.cpp b/util/memory/blob_ut.cpp index 023f9a0487..8764e1d205 100644 --- a/util/memory/blob_ut.cpp +++ b/util/memory/blob_ut.cpp @@ -6,7 +6,7 @@ #include <util/folder/path.h> #include <util/stream/output.h> #include <util/stream/file.h> -#include <util/generic/buffer.h> +#include <util/generic/buffer.h> #include <util/generic/array_ref.h> Y_UNIT_TEST_SUITE(TBlobTest) { @@ -38,12 +38,12 @@ Y_UNIT_TEST_SUITE(TBlobTest) { Y_UNIT_TEST(TestFromString) { TString s("dsfkjhgsadftusadtf"); TBlob b(TBlob::FromString(s)); - + UNIT_ASSERT_EQUAL(TString((const char*)b.Data(), b.Size()), s); const auto expectedRef = TArrayRef<const ui8>{(ui8*)s.data(), s.size()}; UNIT_ASSERT_EQUAL(TArrayRef<const ui8>{b}, expectedRef); } - + Y_UNIT_TEST(TestFromBuffer) { const size_t sz = 1234u; TBuffer buf; |