Skip to content

Commit c78bfa1

Browse files
committed
fix(tests): Construct valid command in MockTextDocumentService
1 parent b912717 commit c78bfa1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

org.eclipse.lsp4e.tests.mock/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: Mock Language Server to test LSP4E
44
Bundle-SymbolicName: org.eclipse.lsp4e.tests.mock
5-
Bundle-Version: 0.17.3.qualifier
5+
Bundle-Version: 0.17.4.qualifier
66
Bundle-Vendor: Eclipse LSP4E
77
Bundle-RequiredExecutionEnvironment: JavaSE-21
88
Require-Bundle: org.eclipse.lsp4j,

org.eclipse.lsp4e.tests.mock/src/org/eclipse/lsp4e/tests/mock/MockTextDocumentService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public CompletableFuture<List<? extends CodeLens>> codeLens(CodeLensParams param
216216
if (file.exists() && file.length() > 100) {
217217
return CompletableFuture
218218
.completedFuture(List.of(new CodeLens(new Range(new Position(1, 0), new Position(1, 1)),
219-
new Command("Hi, I'm a CodeLens", null), null)));
219+
new Command("Hi, I'm a CodeLens", "dummyCommand"), null)));
220220
}
221221
return CompletableFuture.completedFuture(Collections.emptyList());
222222
}

0 commit comments

Comments
 (0)