Skip to content

Commit d031797

Browse files
committed
run swiftformat
1 parent 81ad757 commit d031797

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

Diff for: Tests/GraphitiTests/ConnectionTests.swift

+13-15
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,23 @@ class ConnectionTests: XCTestCase {
2222
}
2323
}
2424

25-
let schema = {
26-
try! Schema<ConnectionTypeResolver, NoContext> {
27-
Type(Comment.self) {
28-
Field("id", at: \.id)
29-
Field("message", at: \.message)
30-
}
25+
let schema = try! Schema<ConnectionTypeResolver, NoContext> {
26+
Type(Comment.self) {
27+
Field("id", at: \.id)
28+
Field("message", at: \.message)
29+
}
3130

32-
ConnectionType(Comment.self)
31+
ConnectionType(Comment.self)
3332

34-
Query {
35-
Field("comments", at: ConnectionTypeResolver.comments) {
36-
Argument("first", at: \.first)
37-
Argument("last", at: \.last)
38-
Argument("after", at: \.after)
39-
Argument("before", at: \.before)
40-
}
33+
Query {
34+
Field("comments", at: ConnectionTypeResolver.comments) {
35+
Argument("first", at: \.first)
36+
Argument("last", at: \.last)
37+
Argument("after", at: \.after)
38+
Argument("before", at: \.before)
4139
}
4240
}
43-
}()
41+
}
4442

4543
let eventLoopGroup = MultiThreadedEventLoopGroup(numberOfThreads: 1)
4644

0 commit comments

Comments
 (0)