Skip to content

Commit 870133b

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent 68787a1 commit 870133b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/CasePathsTests/ReflectionTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ final class ReflectionTests: XCTestCase {
88
let id = 42
99
}
1010
let success = Result<MyIdentifiable, Error>.success(MyIdentifiable())
11-
let anyIdentifiable = try XCTUnwrap(EnumMetadata.project(success) as? any Identifiable)
11+
let anyIdentifiable = try XCTUnwrap(EnumMetadata.project(success) as? anyIdentifiable)
1212
func id(of identifiable: some Identifiable) -> AnyHashable {
1313
identifiable.id
1414
}
@@ -20,7 +20,7 @@ final class ReflectionTests: XCTestCase {
2020
let id = 42
2121
}
2222
let success = Result<Any, Error>.success(MyIdentifiable())
23-
let anyIdentifiable = try XCTUnwrap(EnumMetadata.project(success) as? any Identifiable)
23+
let anyIdentifiable = try XCTUnwrap(EnumMetadata.project(success) as? anyIdentifiable)
2424
func id(of identifiable: some Identifiable) -> AnyHashable {
2525
identifiable.id
2626
}
@@ -35,7 +35,7 @@ final class ReflectionTests: XCTestCase {
3535
indirect case indirectCase(MyIdentifiable)
3636
}
3737
let indirect = Enum.indirectCase(MyIdentifiable())
38-
let anyIdentifiable = try XCTUnwrap(EnumMetadata.project(indirect) as? any Identifiable)
38+
let anyIdentifiable = try XCTUnwrap(EnumMetadata.project(indirect) as? anyIdentifiable)
3939
func id(of identifiable: some Identifiable) -> AnyHashable {
4040
identifiable.id
4141
}
@@ -79,7 +79,7 @@ final class ReflectionTests: XCTestCase {
7979
#endif
8080
}
8181

82-
fileprivate class Object: Equatable {
82+
private class Object: Equatable {
8383
static func == (lhs: Object, rhs: Object) -> Bool {
8484
return lhs === rhs
8585
}

0 commit comments

Comments
 (0)