kopia lustrzana https://github.com/TeamNewPipe/NewPipe
Fix error in tests
rodzic
44f3a7484d
commit
32a159d48f
|
@ -25,7 +25,7 @@ class FeedGroupIconTest {
|
||||||
val usedIcons = HashSet<Int>()
|
val usedIcons = HashSet<Int>()
|
||||||
|
|
||||||
for (groupIcon in FeedGroupIcon.values()) {
|
for (groupIcon in FeedGroupIcon.values()) {
|
||||||
val added = usedIcons.add(groupIcon.drawableResourceAttr)
|
val added = usedIcons.add(groupIcon.drawableResource)
|
||||||
assertTrue("Repeated icon (current item: ${groupIcon.name} - ${groupIcon.id})", added)
|
assertTrue("Repeated icon (current item: ${groupIcon.name} - ${groupIcon.id})", added)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue