@@ -37,7 +37,7 @@ tests =
37
37
38
38
(codeLensResponse, activeProgressTokens) <- expectProgressMessagesTill
39
39
(responseForId SMethod_TextDocumentCodeLens lspId)
40
- [" Setting up testdata (for T1.hs)" , " Processing" , " Indexing " ]
40
+ [" Setting up testdata (for T1.hs)" , " Processing" ]
41
41
[]
42
42
43
43
-- this is a test so exceptions result in fails
@@ -59,15 +59,15 @@ tests =
59
59
void configurationRequest
60
60
setHlsConfig (formatLspConfig " ormolu" )
61
61
doc <- openDoc " Format.hs" " haskell"
62
- expectProgressMessages [" Setting up testdata (for Format.hs)" , " Processing" , " Indexing" ] []
62
+ expectProgressMessages [" Setting up format (for Format.hs)" , " Processing" , " Indexing" ] []
63
63
_ <- sendRequest SMethod_TextDocumentFormatting $ DocumentFormattingParams Nothing doc (FormattingOptions 2 True Nothing Nothing Nothing )
64
64
expectProgressMessages [" Formatting Format.hs" ] []
65
65
, requiresFourmoluPlugin $ testCase " fourmolu plugin sends progress notifications" $ do
66
66
runSessionWithConfig (def { ignoreConfigurationRequests = False }) hlsLspCommand progressCaps " test/testdata/format" $ do
67
67
void configurationRequest
68
68
setHlsConfig (formatLspConfig " fourmolu" )
69
69
doc <- openDoc " Format.hs" " haskell"
70
- expectProgressMessages [" Setting up testdata (for Format.hs)" , " Processing" , " Indexing" ] []
70
+ expectProgressMessages [" Setting up format (for Format.hs)" , " Processing" , " Indexing" ] []
71
71
_ <- sendRequest SMethod_TextDocumentFormatting $ DocumentFormattingParams Nothing doc (FormattingOptions 2 True Nothing Nothing Nothing )
72
72
expectProgressMessages [" Formatting Format.hs" ] []
73
73
]
0 commit comments