File tree Expand file tree Collapse file tree 1 file changed +23
-23
lines changed Expand file tree Collapse file tree 1 file changed +23
-23
lines changed Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments