From 9220e324638284404d2bd234a460b0ce6bade4f1 Mon Sep 17 00:00:00 2001 From: Stypox Date: Fri, 29 Dec 2023 10:54:31 +0100 Subject: [PATCH] Fix FeedDAOTest --- .../java/org/schabi/newpipe/database/FeedDAOTest.kt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/src/androidTest/java/org/schabi/newpipe/database/FeedDAOTest.kt b/app/src/androidTest/java/org/schabi/newpipe/database/FeedDAOTest.kt index 9fa87c31b..893ae82b7 100644 --- a/app/src/androidTest/java/org/schabi/newpipe/database/FeedDAOTest.kt +++ b/app/src/androidTest/java/org/schabi/newpipe/database/FeedDAOTest.kt @@ -85,7 +85,13 @@ class FeedDAOTest { private fun assertEqual(streams: List?, allowedStreams: List) { assertNotNull(streams) - assertEquals(allowedStreams, streams!!.stream().map { it.stream }.toList().sortedBy { it.uid }) + assertEquals( + allowedStreams, + streams!! + .map { it.stream } + .sortedBy { it.uid } + .toList() + ) } private fun setupUnlinkDelete(time: String) {