diff options
author | Mikhail Borisov <borisov.mikhail@gmail.com> | 2022-02-10 16:45:40 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:40 +0300 |
commit | 5d50718e66d9c037dc587a0211110b7d25a66185 (patch) | |
tree | e98df59de24d2ef7c77baed9f41e4875a2fef972 /util/system/sanitizers_ut.cpp | |
parent | a6a92afe03e02795227d2641b49819b687f088f8 (diff) | |
download | ydb-5d50718e66d9c037dc587a0211110b7d25a66185.tar.gz |
Restoring authorship annotation for Mikhail Borisov <borisov.mikhail@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'util/system/sanitizers_ut.cpp')
-rw-r--r-- | util/system/sanitizers_ut.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/util/system/sanitizers_ut.cpp b/util/system/sanitizers_ut.cpp index a27e171e454..5de096e14b1 100644 --- a/util/system/sanitizers_ut.cpp +++ b/util/system/sanitizers_ut.cpp @@ -1,15 +1,15 @@ -#include "sanitizers.h" -#include "sys_alloc.h" - +#include "sanitizers.h" +#include "sys_alloc.h" + #include <library/cpp/testing/unittest/registar.h> - + Y_UNIT_TEST_SUITE(Sanitizers) { Y_UNIT_TEST(MarkAsIntentionallyLeaked) { - auto* p1 = new i32[100]; - NSan::MarkAsIntentionallyLeaked(p1); - - auto* p2 = y_allocate(123); - NSan::MarkAsIntentionallyLeaked(p2); - } - + auto* p1 = new i32[100]; + NSan::MarkAsIntentionallyLeaked(p1); + + auto* p2 = y_allocate(123); + NSan::MarkAsIntentionallyLeaked(p2); + } + } // Y_UNIT_TEST_SUITE(Sanitizers) |