Remove obsolete comments in the test
This commit is contained in:
committed by
Nikolay Krasko
parent
6cc74a1b66
commit
73297a4ef3
@@ -68,10 +68,8 @@ fun run() {
|
||||
// hashCode (directly):
|
||||
// hash() returns value of NSUInteger type.
|
||||
val hash = if (sizeOf<NSUIntegerVar>() == 4L) {
|
||||
// `typedef unsigned int NSInteger` on watchOS.
|
||||
foo.hash().toInt()
|
||||
} else {
|
||||
// `typedef unsigned long NSUInteger` on iOS, macOS, tvOS.
|
||||
foo.hash().let { it.toInt() xor (it shr 32).toInt() }
|
||||
}
|
||||
if (foo.hashCode() == hash) {
|
||||
|
||||
Reference in New Issue
Block a user