Skip to content

Commit 915b9ae

Browse files
committed
Fix errors after rebase
1 parent 4f9fbaf commit 915b9ae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/SwiftSyntaxBuilderTest/DoStmtTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ final class DoStmtTests: XCTestCase {
9292
ThrowStmt(expression: MemberAccessExpr(base: "Error4", name: "error3"))
9393
},
9494
CatchClause {
95-
FunctionCallExpr(callee: ExprSyntax("print")) {
96-
TupleExprElement(expression: "error")
95+
FunctionCallExprSyntax(callee: ExprSyntax("print")) {
96+
TupleExprElementSyntax(expression: Expr("error"))
9797
}
9898
},
9999
]
@@ -142,8 +142,8 @@ final class DoStmtTests: XCTestCase {
142142
ThrowStmt(expression: MemberAccessExpr(base: "Error4", name: "error3"))
143143
},
144144
CatchClause {
145-
FunctionCallExpr(callee: ExprSyntax("print")) {
146-
TupleExprElement(expression: "error")
145+
FunctionCallExprSyntax(callee: ExprSyntax("print")) {
146+
TupleExprElementSyntax(expression: Expr("error"))
147147
}
148148
},
149149
]

0 commit comments

Comments
 (0)