File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Tests/SwiftSyntaxBuilderTest Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -23,25 +23,25 @@ final class FunctionTests: XCTestCase {
23
23
} ,
24
24
body: ifCodeBlock)
25
25
26
- ReturnStmt ( expression: SequenceExpr ( elements : ExprList {
26
+ ReturnStmt ( expression: SequenceExpr {
27
27
FunctionCallExpr ( " fibonacci " ) {
28
- SequenceExpr ( elements : ExprList {
28
+ SequenceExpr {
29
29
IntegerLiteralExpr ( digits: " n " )
30
30
BinaryOperatorExpr ( " - " )
31
31
IntegerLiteralExpr ( 1 )
32
- } )
32
+ }
33
33
}
34
34
35
35
BinaryOperatorExpr ( " + " )
36
36
37
37
FunctionCallExpr ( MemberAccessExpr ( base: " self " , name: " fibonacci " ) ) {
38
- SequenceExpr ( elements : ExprList {
38
+ SequenceExpr {
39
39
IntegerLiteralExpr ( digits: " n " )
40
40
BinaryOperatorExpr ( " - " )
41
41
IntegerLiteralExpr ( 2 )
42
- } )
42
+ }
43
43
}
44
- } ) )
44
+ } )
45
45
}
46
46
let syntax = buildable. buildSyntax ( format: Format ( ) , leadingTrivia: leadingTrivia)
47
47
You can’t perform that action at this time.
0 commit comments