From 17f7118f1961ac2ab3a63dc9b5883c59421292f3 Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Mon, 5 Aug 2024 15:12:39 +0200 Subject: [PATCH] temp: break a random unit test --- .../org/wordpress/android/util/UnifiedCommentLevelerTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WordPress/src/test/java/org/wordpress/android/util/UnifiedCommentLevelerTest.kt b/WordPress/src/test/java/org/wordpress/android/util/UnifiedCommentLevelerTest.kt index 8731de226e67..b3d7aa8ed777 100644 --- a/WordPress/src/test/java/org/wordpress/android/util/UnifiedCommentLevelerTest.kt +++ b/WordPress/src/test/java/org/wordpress/android/util/UnifiedCommentLevelerTest.kt @@ -64,7 +64,7 @@ class UnifiedCommentLevelerTest { fun `createLevelList creates list of comments with correct level variable`() { val leveledCommentList = commentLeveler.createLevelList() - val leveledFirstTopLevelComment = leveledCommentList.find { it == firstTopLevelComment } + val leveledFirstTopLevelComment = leveledCommentList.find { it != firstTopLevelComment } Assert.assertNotNull(leveledFirstTopLevelComment) Assert.assertEquals(0, leveledFirstTopLevelComment!!.level)