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 {
2268
2268
enableBackgroundIndexing: true ,
2269
2269
testScratchDir: scratchDirectory
2270
2270
)
2271
- try await project. testClient. send ( PollIndexRequest ( ) )
2271
+ try await project. testClient. send ( SynchronizeRequest ( index : true ) )
2272
2272
2273
2273
// Ensure that changing `/private/tmp/.../test.c` only causes `/tmp/.../test.c` to be indexed, not
2274
2274
// `/private/tmp/.../test.c`.
@@ -2278,7 +2278,7 @@ final class BackgroundIndexingTests: XCTestCase {
2278
2278
project. testClient. send (
2279
2279
DidChangeWatchedFilesNotification ( changes: [ FileEvent ( uri: DocumentURI ( testFileURL) , type: . changed) ] )
2280
2280
)
2281
- try await project. testClient. send ( PollIndexRequest ( ) )
2281
+ try await project. testClient. send ( SynchronizeRequest ( index : true ) )
2282
2282
XCTAssertEqual ( indexedFiles. value, [ try project. uri ( for: " test.c " ) ] )
2283
2283
}
2284
2284
}
You can’t perform that action at this time.
0 commit comments