@@ -447,7 +447,7 @@ final class LocalSwiftTests: XCTestCase {
447447 XCTAssertEqual (
448448 fixit,
449449 CodeAction (
450- title: " chain the optional using '?' to access member 'bigEndian' only for non-'nil' base values" ,
450+ title: " Chain the optional using '?' to access member 'bigEndian' only for non-'nil' base values" ,
451451 kind: . quickFix,
452452 diagnostics: nil ,
453453 edit: WorkspaceEdit ( changes: [ uri: [ expectedTextEdit] ] , documentChanges: nil ) ,
@@ -469,7 +469,7 @@ final class LocalSwiftTests: XCTestCase {
469469 XCTAssertEqual (
470470 fixit,
471471 CodeAction (
472- title: " force -unwrap using '!' to abort execution if the optional value contains 'nil'" ,
472+ title: " Force -unwrap using '!' to abort execution if the optional value contains 'nil'" ,
473473 kind: . quickFix,
474474 diagnostics: nil ,
475475 edit: WorkspaceEdit ( changes: [ uri: [ expectedTextEdit] ] , documentChanges: nil ) ,
@@ -627,19 +627,19 @@ final class LocalSwiftTests: XCTestCase {
627627
628628 for fixit in quickFixes {
629629 if fixit. title. contains ( " ! " ) {
630- XCTAssert ( fixit. title. starts ( with: " force -unwrap using '!'" ) )
630+ XCTAssert ( fixit. title. starts ( with: " Force -unwrap using '!'" ) )
631631 expectedTextEdit. newText = " ! "
632632 XCTAssertEqual ( fixit. edit, WorkspaceEdit ( changes: [ uri: [ expectedTextEdit] ] , documentChanges: nil ) )
633633 } else {
634- XCTAssert ( fixit. title. starts ( with: " chain the optional using '?'" ) )
634+ XCTAssert ( fixit. title. starts ( with: " Chain the optional using '?'" ) )
635635 expectedTextEdit. newText = " ? "
636636 XCTAssertEqual ( fixit. edit, WorkspaceEdit ( changes: [ uri: [ expectedTextEdit] ] , documentChanges: nil ) )
637637 }
638638 XCTAssertEqual ( fixit. kind, . quickFix)
639639 XCTAssertEqual ( fixit. diagnostics? . count, 1 )
640640 XCTAssertEqual ( fixit. diagnostics? . first? . severity, . error)
641641 XCTAssertEqual ( fixit. diagnostics? . first? . range, Range ( Position ( line: 1 , utf16index: 6 ) ) )
642- XCTAssert ( fixit. diagnostics? . first? . message. starts ( with: " value of optional type" ) == true )
642+ XCTAssert ( fixit. diagnostics? . first? . message. starts ( with: " Value of optional type" ) == true )
643643 }
644644 }
645645
@@ -729,7 +729,7 @@ final class LocalSwiftTests: XCTestCase {
729729 XCTAssertEqual ( quickFixes. count, 1 )
730730 guard let fixit = quickFixes. first else { return }
731731
732- XCTAssertEqual ( fixit. title, " use 'new(_:hotness:)' instead" )
732+ XCTAssertEqual ( fixit. title, " Use 'new(_:hotness:)' instead" )
733733 XCTAssertEqual ( fixit. diagnostics? . count, 1 )
734734 XCTAssert ( fixit. diagnostics? . first? . message. contains ( " is deprecated " ) == true )
735735 XCTAssertEqual (
@@ -1627,7 +1627,7 @@ final class LocalSwiftTests: XCTestCase {
16271627
16281628 let diagnostic = try await testClient. nextDiagnosticsNotification ( )
16291629 let diag = try XCTUnwrap ( diagnostic. diagnostics. first)
1630- XCTAssertEqual ( diag. message, " cannot find 'bar' in scope" )
1630+ XCTAssertEqual ( diag. message, " Cannot find 'bar' in scope" )
16311631
16321632 // Ensure that we don't get a second `PublishDiagnosticsNotification`
16331633 await assertThrowsError ( try await testClient. nextDiagnosticsNotification ( timeout: 2 ) )
0 commit comments