File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments