Skip to content

Commit 437d211

Browse files
authored
Merge pull request #67 from benlangmuir/workaround-clangd-with-sync
Re-enable clangd checks with workaround
2 parents 1125136 + 6bc7739 commit 437d211

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,8 @@ def main():
122122
'position': { 'line': 2, 'character': 22}, ## zero-based
123123
})
124124
# CHECK: "items":[
125-
# FIXME: Missing clib_other rdar://55801106
126-
# FIXME: "insertText":"clib_func"
127-
# FIXME: "insertText":"clib_other"
125+
# CHECK-DAG: "insertText":"clib_func"
126+
# CHECK-DAG: "insertText":"clib_other"
128127
# CHECK: ]
129128

130129
lsp.request('shutdown', {})
@@ -135,7 +134,8 @@ def main():
135134
print('')
136135
print('==== OUTPUT ====')
137136

138-
p = subprocess.Popen([args.sourcekit_lsp, '--sync'], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
137+
skargs = [args.sourcekit_lsp, '--sync', '-Xclangd', '-sync']
138+
p = subprocess.Popen(skargs, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
139139
out, _ = p.communicate(lsp.script)
140140
print(out)
141141
print('')

0 commit comments

Comments
 (0)