Fix architecture check in the test
This commit is contained in:
committed by
Nikolay Krasko
parent
e241d1249c
commit
b565562a1f
@@ -67,7 +67,7 @@ fun run() {
|
||||
|
||||
// hashCode (directly):
|
||||
// hash() returns value of NSUInteger type.
|
||||
val hash = if (Platform.osFamily == OsFamily.WATCHOS && Platform.cpuArchitecture.bitness == 32) {
|
||||
val hash = if (Platform.osFamily == OsFamily.WATCHOS && Platform.cpuArchitecture != CpuArchitecture.X64) {
|
||||
// `typedef unsigned int NSInteger` on watchOS.
|
||||
foo.hash().toInt()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user