Fix Cannot explicitly specialize instance method 'deferFulfillment(_:timeout:message:until:) warning
This commit is contained in:
committed by
Stefan Ceriu
parent
ed5f991cc7
commit
ed6610f5d4
@@ -95,7 +95,7 @@ extension XCTestCase {
|
||||
timeout: TimeInterval = 10,
|
||||
message: String? = nil) -> DeferredFulfillment<P.Output> {
|
||||
var expectedOrder = transitionValues
|
||||
let deferred = deferFulfillment<P>(publisher, timeout: timeout, message: message) { value in
|
||||
let deferred = deferFulfillment(publisher, timeout: timeout, message: message) { value in
|
||||
let receivedValue = value[keyPath: keyPath]
|
||||
if let index = expectedOrder.firstIndex(where: { $0 == receivedValue }), index == 0 {
|
||||
expectedOrder.remove(at: index)
|
||||
|
||||
Reference in New Issue
Block a user