diff options
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/AK/TestIntrusiveRedBlackTree.cpp | 4 | ||||
-rw-r--r-- | Tests/AK/TestVector.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Tests/AK/TestIntrusiveRedBlackTree.cpp b/Tests/AK/TestIntrusiveRedBlackTree.cpp index 6492c57770..587cede591 100644 --- a/Tests/AK/TestIntrusiveRedBlackTree.cpp +++ b/Tests/AK/TestIntrusiveRedBlackTree.cpp @@ -72,7 +72,7 @@ TEST_CASE(key_ordered_iteration) { constexpr auto amount = 10000; IntrusiveRBTree test; - NonnullOwnPtrVector<IntrusiveTest> m_entries; + Vector<NonnullOwnPtr<IntrusiveTest>> m_entries; Array<int, amount> keys {}; // generate random key order @@ -105,7 +105,7 @@ TEST_CASE(key_ordered_iteration) TEST_CASE(clear) { IntrusiveRBTree test; - NonnullOwnPtrVector<IntrusiveTest> m_entries; + Vector<NonnullOwnPtr<IntrusiveTest>> m_entries; for (size_t i = 0; i < 1000; i++) { auto entry = make<IntrusiveTest>(i); test.insert(i, *entry); diff --git a/Tests/AK/TestVector.cpp b/Tests/AK/TestVector.cpp index fafa8f5564..6e6fb38e18 100644 --- a/Tests/AK/TestVector.cpp +++ b/Tests/AK/TestVector.cpp @@ -288,7 +288,7 @@ TEST_CASE(nonnullownptrvector) struct Object { DeprecatedString string; }; - NonnullOwnPtrVector<Object> objects; + Vector<NonnullOwnPtr<Object>> objects; objects.append(make<Object>()); EXPECT_EQ(objects.size(), 1u); |