@@ -28,12 +28,12 @@ tests =
2828 testGroup
2929 " window/workDoneProgress"
3030 [ testCase " sends indefinite progress notifications" $
31- runSession hlsCommand progressCaps " test/testdata/diagnostics" $ do
31+ runSession hlsLspCommand progressCaps " test/testdata/diagnostics" $ do
3232 let path = " Foo.hs"
3333 _ <- openDoc path " haskell"
3434 expectProgressMessages [pack (" Setting up diagnostics (for " ++ path ++ " )" ), " Processing" , " Indexing" ] []
3535 , requiresEvalPlugin $ testCase " eval plugin sends progress reports" $
36- runSession hlsCommand progressCaps " plugins/hls-eval-plugin/test/testdata" $ do
36+ runSession hlsLspCommand progressCaps " plugins/hls-eval-plugin/test/testdata" $ do
3737 doc <- openDoc " T1.hs" " haskell"
3838 lspId <- sendRequest SMethod_TextDocumentCodeLens (CodeLensParams Nothing Nothing doc)
3939
@@ -57,15 +57,15 @@ tests =
5757 expectProgressMessages [" Evaluating" ] activeProgressTokens
5858 _ -> error $ " Unexpected response result: " ++ show response
5959 , requiresOrmoluPlugin $ testCase " ormolu plugin sends progress notifications" $ do
60- runSessionWithConfig (def { ignoreConfigurationRequests = False }) hlsCommand progressCaps " test/testdata/format" $ do
60+ runSessionWithConfig (def { ignoreConfigurationRequests = False }) hlsLspCommand progressCaps " test/testdata/format" $ do
6161 void configurationRequest
6262 setHlsConfig (formatLspConfig " ormolu" )
6363 doc <- openDoc " Format.hs" " haskell"
6464 expectProgressMessages [" Setting up testdata (for Format.hs)" , " Processing" , " Indexing" ] []
6565 _ <- sendRequest SMethod_TextDocumentFormatting $ DocumentFormattingParams Nothing doc (FormattingOptions 2 True Nothing Nothing Nothing )
6666 expectProgressMessages [" Formatting Format.hs" ] []
6767 , requiresFourmoluPlugin $ testCase " fourmolu plugin sends progress notifications" $ do
68- runSessionWithConfig (def { ignoreConfigurationRequests = False }) hlsCommand progressCaps " test/testdata/format" $ do
68+ runSessionWithConfig (def { ignoreConfigurationRequests = False }) hlsLspCommand progressCaps " test/testdata/format" $ do
6969 void configurationRequest
7070 setHlsConfig (formatLspConfig " fourmolu" )
7171 doc <- openDoc " Format.hs" " haskell"
0 commit comments