Skip to content

Commit b655c7a

Browse files
authored
Merge pull request #2068 from ahoppen/fix-merge-conflict
Fix a merge conflict
2 parents 3cd3865 + 9dcb012 commit b655c7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/SourceKitLSPTests/BackgroundIndexingTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2268,7 +2268,7 @@ final class BackgroundIndexingTests: XCTestCase {
22682268
enableBackgroundIndexing: true,
22692269
testScratchDir: scratchDirectory
22702270
)
2271-
try await project.testClient.send(PollIndexRequest())
2271+
try await project.testClient.send(SynchronizeRequest(index: true))
22722272

22732273
// Ensure that changing `/private/tmp/.../test.c` only causes `/tmp/.../test.c` to be indexed, not
22742274
// `/private/tmp/.../test.c`.
@@ -2278,7 +2278,7 @@ final class BackgroundIndexingTests: XCTestCase {
22782278
project.testClient.send(
22792279
DidChangeWatchedFilesNotification(changes: [FileEvent(uri: DocumentURI(testFileURL), type: .changed)])
22802280
)
2281-
try await project.testClient.send(PollIndexRequest())
2281+
try await project.testClient.send(SynchronizeRequest(index: true))
22822282
XCTAssertEqual(indexedFiles.value, [try project.uri(for: "test.c")])
22832283
}
22842284
}

0 commit comments

Comments
 (0)