@@ -83,7 +83,7 @@ spec = do
8383 updater $ ProgressAmount (Just 75 ) (Just " step3" )
8484 liftIO $ waitBarrier b3
8585
86- runSessionWithServer logger definition Test. defaultConfig Test. fullCaps " ." $ do
86+ runSessionWithServer logger definition Test. defaultConfig Test. fullLatestClientCaps " ." $ do
8787 Test. sendRequest (SMethod_CustomMethod (Proxy @ " something" )) J. Null
8888
8989 -- Wait until we have seen a begin messsage. This means that the token setup
@@ -144,7 +144,7 @@ spec = do
144144 -- Wait around to be cancelled, set the MVar only if we are
145145 liftIO $ threadDelay (5 * 1000000 ) `Control.Exception.catch` (\ (e :: ProgressCancelledException ) -> modifyMVar_ wasCancelled (\ _ -> pure True ))
146146
147- runSessionWithServer logger definition Test. defaultConfig Test. fullCaps " ." $ do
147+ runSessionWithServer logger definition Test. defaultConfig Test. fullLatestClientCaps " ." $ do
148148 Test. sendRequest (SMethod_CustomMethod (Proxy @ " something" )) J. Null
149149
150150 -- Wait until we have created the progress so the updates will be sent individually
@@ -190,7 +190,7 @@ spec = do
190190 takeMVar killVar
191191 Control.Exception. throwIO AsyncCancelled
192192
193- runSessionWithServer logger definition Test. defaultConfig Test. fullCaps " ." $ do
193+ runSessionWithServer logger definition Test. defaultConfig Test. fullLatestClientCaps " ." $ do
194194 -- First make sure that we get a $/progress begin notification
195195 skipManyTill Test. anyMessage $ do
196196 x <- Test. message SMethod_Progress
@@ -235,7 +235,7 @@ spec = do
235235 updater $ ProgressAmount (Just 75 ) (Just " step3" )
236236 liftIO $ waitBarrier b3
237237
238- runSessionWithServer logger definition Test. defaultConfig Test. fullCaps " ." $ do
238+ runSessionWithServer logger definition Test. defaultConfig Test. fullLatestClientCaps " ." $ do
239239 Test. sendRequest SMethod_TextDocumentCodeLens (CodeLensParams (Just $ ProgressToken $ InR " hello" ) Nothing (TextDocumentIdentifier $ Uri " ." ))
240240
241241 -- First make sure that we get a $/progress begin notification
@@ -318,7 +318,7 @@ spec = do
318318 ps = DidChangeWorkspaceFoldersParams ev
319319 in Test. sendNotification SMethod_WorkspaceDidChangeWorkspaceFolders ps
320320
321- runSessionWithServer logger definition config Test. fullCaps " ." $ do
321+ runSessionWithServer logger definition config Test. fullLatestClientCaps " ." $ do
322322 changeFolders [wf1] []
323323 changeFolders [wf2] [wf1]
324324
0 commit comments