summaryrefslogtreecommitdiffstats
path: root/util/system/src_root_ut.cpp
diff options
context:
space:
mode:
authortobo <[email protected]>2022-02-10 16:47:27 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:47:27 +0300
commit55a7f90e4cd31e9481cace8ee5dfd682c27e810e (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /util/system/src_root_ut.cpp
parent7fe839092527589b38f014d854c51565b3c1adfa (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/src_root_ut.cpp')
-rw-r--r--util/system/src_root_ut.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/system/src_root_ut.cpp b/util/system/src_root_ut.cpp
index a77c9ce89ce..e9a675eb9ab 100644
--- a/util/system/src_root_ut.cpp
+++ b/util/system/src_root_ut.cpp
@@ -13,7 +13,7 @@ Y_UNIT_TEST_SUITE(TestSourceRoot) {
Y_UNIT_TEST(TestPrivateChopPrefixRoutine) {
static constexpr const char str[] = ":\0:\0: It's unlikely that this string has an ARCADIA_ROOT as its prefix :\0:\0:";
static constexpr const auto strStaticBuf = STATIC_BUF(str);
- UNIT_ASSERT_VALUES_EQUAL(TStringBuf(str, sizeof(str) - 1), ::NPrivate::StripRoot(strStaticBuf).As<TStringBuf>());
+ UNIT_ASSERT_VALUES_EQUAL(TStringBuf(str, sizeof(str) - 1), ::NPrivate::StripRoot(strStaticBuf).As<TStringBuf>());
UNIT_ASSERT_VALUES_EQUAL(0, ::NPrivate::RootPrefixLength(strStaticBuf));
static_assert(::NPrivate::IsProperPrefix(STATIC_BUF("foo"), STATIC_BUF("foobar")), R"(IsProperPrefix("foo", "foobar") failed)");