File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ renameTests = testGroup "rename suggestions" [
4343 cars <- getAllCodeActions doc
4444 replaceButStrLn <- liftIO $ inspectCommand cars [" Replace with" , " putStrLn" ]
4545 executeCommand replaceButStrLn
46- _ <- anyRequest
46+ _ <- skipManyTill loggingNotification anyRequest
4747
4848 x: _ <- T. lines <$> documentContents doc
4949 liftIO $ x @?= " main = putStrLn \" hello\" "
@@ -65,7 +65,7 @@ renameTests = testGroup "rename suggestions" [
6565 _ -> error $ " Unexpected arguments: " ++ show mbArgs
6666
6767 executeCommand cmd
68- _ <- anyRequest
68+ _ <- skipManyTill loggingNotification anyRequest
6969
7070 x1: x2: _ <- T. lines <$> documentContents doc
7171 liftIO $
@@ -207,7 +207,7 @@ redundantImportTests = testGroup "redundant import code actions" [
207207 cas <- getAllCodeActions doc
208208 cmd <- liftIO $ inspectCommand cas [" redundant import" ]
209209 executeCommand cmd
210- _ <- anyRequest
210+ _ <- skipManyTill loggingNotification anyRequest
211211 contents <- documentContents doc
212212 liftIO $ T. lines contents @?=
213213 [ " {-# OPTIONS_GHC -Wunused-imports #-}"
You can’t perform that action at this time.
0 commit comments