Skip to content

Commit e896461

Browse files
stephencelisactions-user
authored andcommitted
Run swift-format
1 parent 22a682a commit e896461

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

Tests/CustomDumpTests/DumpTests.swift

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -927,31 +927,31 @@ final class DumpTests: XCTestCase {
927927
)
928928

929929
#if !os(Windows)
930-
class SubclassedError: NSError {}
930+
class SubclassedError: NSError {}
931931

932-
dump = ""
933-
customDump(
934-
SubclassedError(
935-
domain: "co.pointfree",
936-
code: 43,
937-
userInfo: [
938-
NSLocalizedDescriptionKey: "An error occurred" as NSString
939-
]
940-
),
941-
to: &dump
942-
)
943-
XCTAssertNoDifference(
944-
dump,
945-
"""
946-
NSError(
947-
domain: "co.pointfree",
948-
code: 43,
949-
userInfo: [
950-
"NSLocalizedDescription": "An error occurred"
951-
]
932+
dump = ""
933+
customDump(
934+
SubclassedError(
935+
domain: "co.pointfree",
936+
code: 43,
937+
userInfo: [
938+
NSLocalizedDescriptionKey: "An error occurred" as NSString
939+
]
940+
),
941+
to: &dump
942+
)
943+
XCTAssertNoDifference(
944+
dump,
945+
"""
946+
NSError(
947+
domain: "co.pointfree",
948+
code: 43,
949+
userInfo: [
950+
"NSLocalizedDescription": "An error occurred"
951+
]
952+
)
953+
"""
952954
)
953-
"""
954-
)
955955
#endif
956956

957957
enum BridgedError: Error {

0 commit comments

Comments
 (0)