Skip to content

Commit 7578d84

Browse files
authored
Merge pull request #157 from ahoppen/lsp-integration-test
Re-enable SourceKit-LSP integration test
2 parents fcb0323 + e3fadb5 commit 7578d84

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test-sourcekit-lsp/test-sourcekit-lsp.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Canary test for sourcekit-lsp, covering interaction with swiftpm and toolchain
22
# language services.
33

4-
# REQUIRES: rdar147100271
54
# REQUIRES: have-sourcekit-lsp
65

76
# Make a sandbox dir.
@@ -134,7 +133,7 @@ def main():
134133
"rootPath": args.package,
135134
"capabilities": {},
136135
"initializationOptions": {
137-
"listenToUnitEvents": False,
136+
"experimentalFeatures": ["synchronize-request"]
138137
},
139138
},
140139
)
@@ -151,7 +150,7 @@ def main():
151150
},
152151
)
153152

154-
connection.send_request("workspace/_pollIndex", {})
153+
connection.send_request("workspace/_synchronize", {"index": True})
155154
foo_definition_response = connection.send_request(
156155
"textDocument/definition",
157156
{

0 commit comments

Comments
 (0)