From ba261aba72373d595149453bae175645b3097d52 Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Thu, 22 Apr 2021 01:47:05 +0430 Subject: [PATCH] AK: Reenable the IntrusiveList<...NonnullRefPtr, ...> tests --- AK/Tests/TestIntrusiveList.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/AK/Tests/TestIntrusiveList.cpp b/AK/Tests/TestIntrusiveList.cpp index 1674bdf199c..22768a87558 100644 --- a/AK/Tests/TestIntrusiveList.cpp +++ b/AK/Tests/TestIntrusiveList.cpp @@ -118,9 +118,6 @@ TEST_CASE(intrusive_ref_ptr_destructor) EXPECT_EQ(1u, item->ref_count()); } -// There is currently a bug in the NonnullRefPtr specialization of IntrusiveList, -// so this test fails to compile at the moment. Including it for future use. -#if 0 class IntrusiveNonnullRefPtrItem : public RefCounted { public: IntrusiveNonnullRefPtrItem() = default; @@ -143,6 +140,5 @@ TEST_CASE(intrusive_nonnull_ref_ptr_intrusive) EXPECT(nonnull_ref_list.is_empty()); } -#endif TEST_MAIN(IntrusiveList)