Skip to content

Commit 4995928

Browse files
committed
Xcode 9.0 (9A235) fix.
1 parent 11474a9 commit 4995928

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Tests/RxCocoaTests/RuntimeStateSnapshot.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ final class ObjectRuntimeState {
1313
let actingAs: ClassRuntimeState
1414

1515
init(target: AnyObject) {
16-
assert(object_getClass(target) == type(of: target))
16+
assert(object_getClass(target).isSubclass(of: type(of: target)))
1717
real = ClassRuntimeState(object_getClass(target))
1818
actingAs = ClassRuntimeState(RXObjCTestRuntime.objCClass(target))
1919
}

Tests/RxSwiftTests/DisposableTest.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import RxSwift
1111
import RxTest
1212

1313
import class Dispatch.DispatchQueue
14+
import class Dispatch.DispatchSpecificKey
1415
#if os(Linux)
1516
import func Glibc.random
1617
#else

0 commit comments

Comments
 (0)