Remove extraneous flag
[lsp-test.git] / test / Test.hs
index eff7404f0822ae6463467bc6308e5d5a9b92651c..eb0eef0f269493d3fe3e1b95d0fc4d1210f9fffd 100644 (file)
@@ -16,7 +16,7 @@ import           Control.Monad
 import           Control.Lens hiding (List)
 import           GHC.Generics
 import           Language.Haskell.LSP.Messages
-import           Language.Haskell.LSP.Test hiding (runSession)
+import           Language.Haskell.LSP.Test
 import           Language.Haskell.LSP.Test.Replay
 import           Language.Haskell.LSP.Types
 import           Language.Haskell.LSP.Types.Lens as LSP hiding
@@ -27,8 +27,6 @@ import           System.Timeout
 {-# ANN module ("HLint: ignore Reduce duplication" :: String) #-}
 {-# ANN module ("HLint: ignore Unnecessary hiding" :: String) #-}
 
-runSession = runSessionWithConfig (defaultConfig { logStdErr = True })
-
 main = hspec $ do
   describe "Session" $ do
     it "fails a test" $
@@ -46,7 +44,7 @@ main = hspec $ do
 
     describe "withTimeout" $ do
       it "times out" $
-        let sesh = runSession "hie -d --bios-verbose" fullCaps "test/data/renamePass" $ do
+        let sesh = runSession "hie" fullCaps "test/data/renamePass" $ do
                     openDoc "Desktop/simple.hs" "haskell"
                     -- won't receive a request - will timeout
                     -- incoming logging requests shouldn't increase the