Skip to content

Commit a1a92c9

Browse files
fix CodeLensTests to include command arguments
1 parent 151ac12 commit a1a92c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/SourceKitLSPTests/CodeLensTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,11 @@ final class CodeLensTests: XCTestCase {
104104
[
105105
CodeLens(
106106
range: positions["1️⃣"]..<positions["2️⃣"],
107-
command: Command(title: "Run MyApp", command: "swift.run", arguments: nil)
107+
command: Command(title: "Run MyApp", command: "swift.run", arguments: [.string("MyApp")])
108108
),
109109
CodeLens(
110110
range: positions["1️⃣"]..<positions["2️⃣"],
111-
command: Command(title: "Debug MyApp", command: "swift.debug", arguments: nil)
111+
command: Command(title: "Debug MyApp", command: "swift.debug", arguments: [.string("MyApp")])
112112
),
113113
]
114114
)

0 commit comments

Comments
 (0)