fix(home/test): kotlin.test assertTrue message overload
android / Build + lint + test (push) Successful in 3m46s

The trailing-lambda assertTrue overload treats the block as the
*condition*, not a lazy message — switch to assertTrue(Boolean, String).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-13 20:49:10 -04:00
parent 2e92ba498c
commit d497c57d6c
@@ -71,7 +71,7 @@ class BuildPlaylistsRowTest {
val owned = listOf(songsLike("a", cached = true), user("u1", cached = true))
val row = buildPlaylistsRow(owned, SystemPlaylistsStatus(), offline = false)
val reals = row.filterIsInstance<PlaylistRowItem.Real>().map { it.playlist.id }
assertTrue("a" !in reals) { "songs-like mix leaked into the Playlists row: $reals" }
assertTrue("a" !in reals, "songs-like mix leaked into the Playlists row: $reals")
assertTrue("u1" in reals)
}