mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
AK: Reenable the IntrusiveList<...NonnullRefPtr, ...> tests
This commit is contained in:
parent
88b97f5367
commit
ba261aba72
Notes:
sideshowbarker
2024-07-18 19:15:19 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/ba261aba723 Pull-request: https://github.com/SerenityOS/serenity/pull/6543
1 changed files with 0 additions and 4 deletions
|
@ -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<IntrusiveNonnullRefPtrItem> {
|
||||
public:
|
||||
IntrusiveNonnullRefPtrItem() = default;
|
||||
|
@ -143,6 +140,5 @@ TEST_CASE(intrusive_nonnull_ref_ptr_intrusive)
|
|||
|
||||
EXPECT(nonnull_ref_list.is_empty());
|
||||
}
|
||||
#endif
|
||||
|
||||
TEST_MAIN(IntrusiveList)
|
||||
|
|
Loading…
Reference in a new issue