@@ -120,7 +120,7 @@ spec = describe "completions" $ do
120120 _ <- skipManyTill loggingNotification (count 2 noDiagnostics)
121121 compls <- getCompletions doc (Position 5 7 )
122122 liftIO $ filter ((== " !!" ) . (^. label)) compls `shouldNotSatisfy` null
123-
123+
124124 -- See https://github.com/haskell/haskell-ide-engine/issues/903
125125 it " strips compiler generated stuff from completions" $ runSession hieCommand fullCaps " test/testdata/completion" $ do
126126 doc <- openDoc " DupRecFields.hs" " haskell"
@@ -136,7 +136,7 @@ spec = describe "completions" $ do
136136 item ^. kind `shouldBe` Just CiFunction
137137 item ^. detail `shouldBe` Just " Two -> Int\n DupRecFields"
138138 item ^. insertText `shouldBe` Just " accessor ${1:Two}"
139-
139+
140140 describe " contexts" $ do
141141 it " only provides type suggestions" $ runSession hieCommand fullCaps " test/testdata/completion" $ do
142142 doc <- openDoc " Context.hs" " haskell"
@@ -151,9 +151,9 @@ spec = describe "completions" $ do
151151 _ <- skipManyTill loggingNotification (count 2 noDiagnostics)
152152 compls <- getCompletions doc (Position 3 9 )
153153 liftIO $ do
154- compls `shouldContainCompl` " abs"
154+ compls `shouldContainCompl` " abs"
155155 compls `shouldNotContainCompl` " Applicative"
156-
156+
157157 -- This currently fails if it takes too long to typecheck the module
158158 -- it "completes qualified type suggestions" $ runSession hieCommand fullCaps "test/testdata/completion" $ do
159159 -- doc <- openDoc "Context.hs" "haskell"
@@ -175,7 +175,7 @@ spec = describe "completions" $ do
175175 let item = head $ filter ((== " id" ) . (^. label)) compls
176176 liftIO $
177177 item ^. detail `shouldBe` Just " a -> a\n Prelude"
178-
178+
179179 it " have implicit foralls with multiple type variables" $ runSession hieCommand fullCaps " test/testdata/completion" $ do
180180 doc <- openDoc " Completion.hs" " haskell"
181181 _ <- skipManyTill loggingNotification (count 2 noDiagnostics)
@@ -184,7 +184,7 @@ spec = describe "completions" $ do
184184 compls <- getCompletions doc (Position 5 11 )
185185 let item = head $ filter ((== " flip" ) . (^. label)) compls
186186 liftIO $
187- item ^. detail `shouldBe` Just " (a -> b -> c) -> b -> a -> c\n Prelude"
187+ item ^. detail `shouldBe` Just " (a -> b -> c) -> b -> a -> c\n Prelude"
188188
189189 describe " snippets" $ do
190190 it " work for argumentless constructors" $ runSession hieCommand fullCaps " test/testdata/completion" $ do
0 commit comments