Skip to content

Commit a3c9cfd

Browse files
authored
Merge pull request #2039 from ahoppen/pollindex
Poll index in `testBuildSystemUsesStandardizedFileUrlsInsteadOfRealpath`
2 parents a7b7f21 + 3b2160e commit a3c9cfd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/SourceKitLSPTests/WorkspaceTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,6 +1368,7 @@ final class WorkspaceTests: XCTestCase {
13681368
options: .testDefault(experimentalFeatures: [.sourceKitOptionsRequest]),
13691369
workspaceFolders: [WorkspaceFolder(uri: DocumentURI(scratchDirectory), name: nil)]
13701370
)
1371+
try await testClient.send(PollIndexRequest())
13711372

13721373
// Check that we can infer build settings for the header from its main file. indexstore-db stores this main file
13731374
// path as `/private/tmp` while the build system only knows about it as `/tmp`.

0 commit comments

Comments
 (0)