Skip to content
Snippets Groups Projects
Commit 38a67bba authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Refactor

parent f6ddefd8
No related branches found
No related tags found
2 merge requests!102Release 1.0.0,!18Update Bindings
...@@ -2,10 +2,10 @@ import Bindings ...@@ -2,10 +2,10 @@ import Bindings
import XCTestDynamicOverlay import XCTestDynamicOverlay
public struct CmixStartNetworkFollower { public struct CmixStartNetworkFollower {
public var start: (Int) throws -> Void public var run: (Int) throws -> Void
public func callAsFunction(timeoutMS: Int) throws { public func callAsFunction(timeoutMS: Int) throws {
try start(timeoutMS) try run(timeoutMS)
} }
} }
...@@ -19,6 +19,6 @@ extension CmixStartNetworkFollower { ...@@ -19,6 +19,6 @@ extension CmixStartNetworkFollower {
extension CmixStartNetworkFollower { extension CmixStartNetworkFollower {
public static let unimplemented = CmixStartNetworkFollower( public static let unimplemented = CmixStartNetworkFollower(
start: XCTUnimplemented("\(Self.self)") run: XCTUnimplemented("\(Self.self)")
) )
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment