Skip to content

Commit 229d5dc

Browse files
committed
format
1 parent f9a97cf commit 229d5dc

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

Tests/SwiftParserTest/Parser+EntryTests.swift

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,17 @@ class EntryTests: ParserTestCase {
8181
{ DeclSyntax.parse(from: &$0) },
8282
substructure: FunctionDeclSyntax(
8383
attributes: [
84-
.ifConfigDecl(IfConfigDeclSyntax(clauses: [
85-
IfConfigClauseSyntax(
86-
poundKeyword: .poundIfToken(),
87-
condition: DeclReferenceExprSyntax(baseName: .identifier("FLAG")),
88-
elements: .attributes([
89-
.attribute(AttributeSyntax(TypeSyntax(IdentifierTypeSyntax(name: .identifier("attr")))))
90-
]))
91-
]))
84+
.ifConfigDecl(
85+
IfConfigDeclSyntax(clauses: [
86+
IfConfigClauseSyntax(
87+
poundKeyword: .poundIfToken(),
88+
condition: DeclReferenceExprSyntax(baseName: .identifier("FLAG")),
89+
elements: .attributes([
90+
.attribute(AttributeSyntax(TypeSyntax(IdentifierTypeSyntax(name: .identifier("attr")))))
91+
])
92+
)
93+
])
94+
)
9295
],
9396
funcKeyword: .keyword(.func),
9497
name: .identifier("test"),

0 commit comments

Comments
 (0)