We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59aceb2 commit fb1163fCopy full SHA for fb1163f
Tests/SwiftSyntaxBuilderTest/ClosureExprTests.swift
@@ -57,4 +57,23 @@ final class ClosureExprTests: XCTestCase {
57
"""
58
)
59
}
60
+
61
+ func testMultiTrailingClosure() {
62
+ let buildable = ExprSyntax(
63
+ """
64
+ foo { _ in
65
+ }anotherClosure: { _ in
66
+ }
67
68
+ )
69
70
+ assertBuildResult(
71
+ buildable,
72
73
74
+ } anotherClosure: { _ in
75
76
77
78
79
0 commit comments