Skip to content

Commit 0d5c5cb

Browse files
committed
remove unecessary async
1 parent 1d3f1a4 commit 0d5c5cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/OpenAPILambdaTests/Router/RouterNodeTest.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ struct RouterNodeTests {
111111
}
112112

113113
@Test("Cannot add node to handler")
114-
func testCanNotAddNodeToHandler() async {
114+
func testCanNotAddNodeToHandler() {
115115
// given
116116
let bodyString = "bodyString"
117117
let handler: OpenAPIHandler = { a, b, c in (HTTPResponse(status: .ok), HTTPBody(bodyString)) }
@@ -177,7 +177,7 @@ struct RouterNodeTests {
177177
}
178178

179179
@Test("Retrieve param child exists")
180-
func testRetrieveParamChildExist() async {
180+
func testRetrieveParamChildExist() {
181181
// given
182182
let pathElement = "element1"
183183
let root = Node()
@@ -193,7 +193,7 @@ struct RouterNodeTests {
193193
}
194194

195195
@Test("Retrieve param child does not exist")
196-
func testRetrieveParamChildNOTExist() async {
196+
func testRetrieveParamChildNOTExist() {
197197
// given
198198
let pathElement = "element1"
199199
let root = Node()

0 commit comments

Comments
 (0)