Skip to content

Commit 4a06b02

Browse files
committed
Fix a new swiftlint error
1 parent bdbc1a4 commit 4a06b02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Realm/ObjectServerTests/ClientResetTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ class PBSClientResetTests: ClientResetTests {
281281

282282
let syncManager = self.app.syncManager
283283
syncManager.errorHandler = { error, _ in
284-
guard nil != error as? SyncError else {
284+
guard error is SyncError else {
285285
return XCTFail("Bad error type: \(error)")
286286
}
287287
XCTFail("Expected the syncManager.ErrorHandler to not be called")

0 commit comments

Comments
 (0)