diff options
| author | Bug Magnet <marco.nikic@mullvad.net> | 2023-08-30 13:28:58 +0200 |
|---|---|---|
| committer | Bug Magnet <marco.nikic@mullvad.net> | 2023-08-30 13:28:58 +0200 |
| commit | 9dce2b7142ff6db0b07441c302e2f81552bcb8a8 (patch) | |
| tree | e00e2c549c2c9afef0741d6dd6ea8725d28bf35e /ios/OperationsTests/OperationObserverTests.swift | |
| parent | 9ac934e6886d20d7f7a72bf85bbde9d1b5901976 (diff) | |
| parent | 0323fe99d2afa2f93a5d888b8a6387d0e2e54ef6 (diff) | |
| download | mullvadvpn-9dce2b7142ff6db0b07441c302e2f81552bcb8a8.tar.xz mullvadvpn-9dce2b7142ff6db0b07441c302e2f81552bcb8a8.zip | |
Merge branch 'LINT-ALL-THE-THINGS'
Diffstat (limited to 'ios/OperationsTests/OperationObserverTests.swift')
| -rw-r--r-- | ios/OperationsTests/OperationObserverTests.swift | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ios/OperationsTests/OperationObserverTests.swift b/ios/OperationsTests/OperationObserverTests.swift index de334be21a..9b05cc0c0d 100644 --- a/ios/OperationsTests/OperationObserverTests.swift +++ b/ios/OperationsTests/OperationObserverTests.swift @@ -19,13 +19,13 @@ class OperationObserverTests: XCTestCase { let operation = AsyncBlockOperation {} operation.addBlockObserver(OperationBlockObserver( - didAttach: { op in + didAttach: { _ in expectDidAttach.fulfill() - }, didStart: { op in + }, didStart: { _ in expectDidStart.fulfill() - }, didCancel: { op in + }, didCancel: { _ in expectDidCancel.fulfill() - }, didFinish: { op, error in + }, didFinish: { _, _ in expectDidFinish.fulfill() } )) @@ -46,13 +46,13 @@ class OperationObserverTests: XCTestCase { let operation = AsyncBlockOperation {} operation.addBlockObserver(OperationBlockObserver( - didAttach: { op in + didAttach: { _ in expectDidAttach.fulfill() - }, didStart: { op in + }, didStart: { _ in expectDidStart.fulfill() - }, didCancel: { op in + }, didCancel: { _ in expectDidCancel.fulfill() - }, didFinish: { op, error in + }, didFinish: { _, _ in expectDidFinish.fulfill() } )) |
