packages feed

lsp-test 0.11.0.5 → 0.11.0.6

raw patch · 2 files changed

+8/−2 lines, 2 filesdep ~haskell-lspPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: haskell-lsp

API changes (from Hackage documentation)

Files

lsp-test.cabal view
@@ -1,5 +1,5 @@ name:                lsp-test-version:             0.11.0.5+version:             0.11.0.6 synopsis:            Functional test framework for LSP servers. description:   A test framework for writing tests against
src/Language/Haskell/LSP/Test/Session.hs view
@@ -71,7 +71,10 @@ import System.Console.ANSI import System.Directory import System.IO-import System.Process (waitForProcess, ProcessHandle())+import System.Process (ProcessHandle())+#ifndef mingw32_HOST_OS+import System.Process (waitForProcess)+#endif import System.Timeout  -- | A session representing one instance of launching and connecting to a server.@@ -271,7 +274,10 @@           -- handles etc via cleanupProcess           killThread tid           -- Give the server some time to exit cleanly+          -- It makes the server hangs in windows so we have to avoid it+#ifndef mingw32_HOST_OS           timeout msgTimeoutMs (waitForProcess serverProc)+#endif           cleanupProcess server    (result, _) <- bracket serverListenerLauncher