diff options
author | babenko <babenko@yandex-team.com> | 2025-02-22 17:28:25 +0300 |
---|---|---|
committer | babenko <babenko@yandex-team.com> | 2025-02-22 17:48:29 +0300 |
commit | 59afaa0cb7cd89146dd10f5446256afcce33bd0e (patch) | |
tree | 38d3c46bcba8da7c3b8ffc6b818695bc6b62d532 /library/cpp/yt/compact_containers/unittests/compact_vector_ut.cpp | |
parent | 1d9cc117e33b162a5247032e175ed7ea26971437 (diff) | |
download | ydb-59afaa0cb7cd89146dd10f5446256afcce33bd0e.tar.gz |
YT-22593: More trivial TString->std::string migrations
[nodiff:runtime]
commit_hash:1ba799aed1703ab7c6304b6da7090b3337f768dd
Diffstat (limited to 'library/cpp/yt/compact_containers/unittests/compact_vector_ut.cpp')
-rw-r--r-- | library/cpp/yt/compact_containers/unittests/compact_vector_ut.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/yt/compact_containers/unittests/compact_vector_ut.cpp b/library/cpp/yt/compact_containers/unittests/compact_vector_ut.cpp index 5ffc04efdc..fc40f6fdbe 100644 --- a/library/cpp/yt/compact_containers/unittests/compact_vector_ut.cpp +++ b/library/cpp/yt/compact_containers/unittests/compact_vector_ut.cpp @@ -273,7 +273,7 @@ TYPED_TEST(CompactVectorTest, InsertEnd) { SCOPED_TRACE("InsertEnd"); - TCompactVector<TString, 5> vector; + TCompactVector<std::string, 5> vector; for (int index = 0; index < 10; ++index) { vector.insert(vector.end(), ToString(index)); } @@ -286,7 +286,7 @@ TYPED_TEST(CompactVectorTest, ShrinkToSmall) { SCOPED_TRACE("ShrinkToSmall"); - TCompactVector<TString, 5> vector; + TCompactVector<std::string, 5> vector; for (int index = 0; index < 10; ++index) { vector.shrink_to_small(); vector.push_back(ToString(index)); @@ -1061,8 +1061,8 @@ TEST(CompactVectorTest, InitializerList) { } TEST(CompactVectorTest, AssignToShorter) { - TCompactVector<TString, 4> lhs; - TCompactVector<TString, 4> rhs; + TCompactVector<std::string, 4> lhs; + TCompactVector<std::string, 4> rhs; rhs.emplace_back("foo"); lhs = rhs; EXPECT_EQ(1U, lhs.size()); @@ -1070,10 +1070,10 @@ TEST(CompactVectorTest, AssignToShorter) { } TEST(CompactVectorTest, AssignToLonger) { - TCompactVector<TString, 4> lhs; + TCompactVector<std::string, 4> lhs; lhs.emplace_back("bar"); lhs.emplace_back("baz"); - TCompactVector<TString, 4> rhs; + TCompactVector<std::string, 4> rhs; rhs.emplace_back("foo"); lhs = rhs; EXPECT_EQ(1U, lhs.size()); |