@@ -429,7 +429,7 @@ final class CodeActionTests: XCTestCase {
429429 func testCodeActionForFixItsProducedBySwiftSyntax( ) async throws {
430430 let ws = try await MultiFileTestWorkspace ( files: [
431431 " test.swift " : " protocol 1️⃣Multi 2️⃣ident 3️⃣{} " ,
432- " compile_commands.json " : " [] "
432+ " compile_commands.json " : " [] " ,
433433 ] )
434434
435435 let ( uri, positions) = try ws. openDocument ( " test.swift " )
@@ -446,29 +446,29 @@ final class CodeActionTests: XCTestCase {
446446
447447 let expectedCodeActions = [
448448 CodeAction (
449- title: " Join the identifiers together " ,
450- kind: . quickFix,
449+ title: " Join the identifiers together " ,
450+ kind: . quickFix,
451451 edit: WorkspaceEdit (
452452 changes: [
453- uri : [
453+ uri: [
454454 TextEdit ( range: positions [ " 1️⃣ " ] ..< positions [ " 2️⃣ " ] , newText: " Multiident " ) ,
455455 TextEdit ( range: positions [ " 2️⃣ " ] ..< positions [ " 3️⃣ " ] , newText: " " ) ,
456456 ]
457457 ]
458458 )
459- ) ,
459+ ) ,
460460 CodeAction (
461461 title: " Join the identifiers together with camel-case " ,
462- kind: . quickFix,
463- edit: WorkspaceEdit (
462+ kind: . quickFix,
463+ edit: WorkspaceEdit (
464464 changes: [
465- uri : [
465+ uri: [
466466 TextEdit ( range: positions [ " 1️⃣ " ] ..< positions [ " 2️⃣ " ] , newText: " MultiIdent " ) ,
467467 TextEdit ( range: positions [ " 2️⃣ " ] ..< positions [ " 3️⃣ " ] , newText: " " ) ,
468468 ]
469469 ]
470470 )
471- )
471+ ) ,
472472 ]
473473 XCTAssertEqual ( expectedCodeActions, codeActions)
474474 }
0 commit comments