Skip to content

Commit 4e8c95b

Browse files
committed
Fix PR comments
1 parent e316a69 commit 4e8c95b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MatrixSDKTests/MXCoreDataRoomListDataManagerUnitTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,13 +199,13 @@ class MXCoreDataRoomListDataManagerUnitTests: XCTestCase {
199199

200200
for (index, numberOfRooms) in numberOfRoomsPerType.enumerated() {
201201
let safeIndex = index % MXRoomSummaryDataTypes.all.count
202-
let typed = (0..<numberOfRooms).map({ _ -> MockRoomSummary in
202+
let typed = (0..<numberOfRooms).map({ _ in
203203
return MockRoomSummary.generate(withTypes: MXRoomSummaryDataTypes.all[safeIndex])
204204
})
205205
result.append(contentsOf: typed)
206206
}
207207

208-
let untyped = (0..<numberOfUntyped).map({ _ -> MockRoomSummary in
208+
let untyped = (0..<numberOfUntyped).map({ _ in
209209
return MockRoomSummary.generate()
210210
})
211211
result.append(contentsOf: untyped)

0 commit comments

Comments
 (0)