Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bok- committed Dec 13, 2024
1 parent 66223aa commit dd72229
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Sources/VexilMacros/Utilities/SimpleVariables.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ extension MemberBlockSyntax {
return false

case let .accessors(accessors):
return accessors.allSatisfy({ $0.accessorSpecifier.tokenKind != .keyword(.get) })
return accessors.allSatisfy { $0.accessorSpecifier.tokenKind != .keyword(.get) }
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions Tests/VexilMacroTests/EquatableFlagContainerMacroTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,16 @@ final class EquatableFlagContainerMacroTests: XCTestCase {
struct TestFlags {
@Flag(default: false, description: "Some Flag")
var someFlag: Bool
var someComputedNotEquatableProperty: (any Error)? {
nil
}
var someComputedPropertyWithAGetter: (any Error)? {
get { fatalError() }
set { fatalError() }
}
var otherStoredProperty: Int {
didSet { fatalError() }
}
Expand All @@ -98,16 +98,16 @@ final class EquatableFlagContainerMacroTests: XCTestCase {
lookup: _flagLookup
)
}
var someComputedNotEquatableProperty: (any Error)? {
nil
}
var someComputedPropertyWithAGetter: (any Error)? {
get { fatalError() }
set { fatalError() }
}
var otherStoredProperty: Int {
didSet { fatalError() }
}
Expand Down

0 comments on commit dd72229

Please sign in to comment.