It's a casting issue. count
returns an NSUInteger
and 0
is being assumed to be an NSInteger
. Cast your zero to unsigned by writing 0U
or (NSUInteger)0
.
Why was this unit test declared failed?
-
27-09-2022 - |
Frage
why does it say that 0 is not equal to 0 ?
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow