Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit a65b40b

Browse files
committed
Remove unnecessary parentheses
1 parent 49f177f commit a65b40b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

WordPressKitTests/BlockEditorSettingsServiceRemoteTests.swift

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ extension BlockEditorSettingsServiceRemoteTests {
3636
}
3737

3838
let waitExpectation = expectation(description: "Theme should be successfully fetched")
39-
service.fetchTheme { (response) in
39+
service.fetchTheme { response in
4040
switch response {
4141
case .success(let result):
4242
XCTAssertNotNil(result)
@@ -68,7 +68,7 @@ extension BlockEditorSettingsServiceRemoteTests {
6868
}
6969

7070
let waitExpectation = expectation(description: "Theme should be successfully fetched")
71-
service.fetchTheme { (response) in
71+
service.fetchTheme { response in
7272
switch response {
7373
case .success(let result):
7474
XCTAssertNotNil(result)
@@ -103,7 +103,7 @@ extension BlockEditorSettingsServiceRemoteTests {
103103

104104
let waitExpectation = expectation(description: "Theme should be successfully fetched")
105105

106-
service.fetchTheme { (response) in
106+
service.fetchTheme { response in
107107
switch response {
108108
case .success(let result):
109109
XCTAssertNotNil(result)
@@ -134,7 +134,7 @@ extension BlockEditorSettingsServiceRemoteTests {
134134
}
135135

136136
let waitExpectation = expectation(description: "Theme should be successfully fetched")
137-
service.fetchTheme { (response) in
137+
service.fetchTheme { response in
138138
switch response {
139139
case .success(let result):
140140
XCTAssertFalse(result!.themeSupport!.blockTemplates)
@@ -153,7 +153,7 @@ extension BlockEditorSettingsServiceRemoteTests {
153153
}
154154

155155
let waitExpectation = expectation(description: "Theme should be successfully fetched")
156-
service.fetchTheme { (response) in
156+
service.fetchTheme { response in
157157
switch response {
158158
case .success:
159159
XCTFail("This Request should have failed")
@@ -177,7 +177,7 @@ extension BlockEditorSettingsServiceRemoteTests {
177177
}
178178

179179
let waitExpectation = expectation(description: "Block Settings should be successfully fetched")
180-
service.fetchBlockEditorSettings { (response) in
180+
service.fetchBlockEditorSettings { response in
181181
switch response {
182182
case .success(let result):
183183
XCTAssertNil(result)
@@ -196,7 +196,7 @@ extension BlockEditorSettingsServiceRemoteTests {
196196
}
197197

198198
let waitExpectation = expectation(description: "Block Settings should be successfully fetched")
199-
service.fetchBlockEditorSettings { (response) in
199+
service.fetchBlockEditorSettings { response in
200200
switch response {
201201
case .success(let result):
202202
self.validateFetchBlockEditorSettingsResults(result)
@@ -217,7 +217,7 @@ extension BlockEditorSettingsServiceRemoteTests {
217217
}
218218

219219
let waitExpectation = expectation(description: "Block Settings should be successfully fetched")
220-
service.fetchBlockEditorSettings { (response) in
220+
service.fetchBlockEditorSettings { response in
221221
switch response {
222222
case .success(let result):
223223
self.validateFetchBlockEditorSettingsResults(result)
@@ -246,7 +246,7 @@ extension BlockEditorSettingsServiceRemoteTests {
246246

247247
let waitExpectation = expectation(description: "Block Settings should be successfully fetched")
248248

249-
service.fetchBlockEditorSettings { (response) in
249+
service.fetchBlockEditorSettings { response in
250250
switch response {
251251
case .success(let result):
252252
self.validateFetchBlockEditorSettingsResults(result)
@@ -275,7 +275,7 @@ extension BlockEditorSettingsServiceRemoteTests {
275275
}
276276

277277
let waitExpectation = expectation(description: "Block Settings should be successfully fetched")
278-
service.fetchBlockEditorSettings { (response) in
278+
service.fetchBlockEditorSettings { response in
279279
switch response {
280280
case .success:
281281
XCTFail("This Request should have failed")

0 commit comments

Comments
 (0)