From: Luke Lau Date: Sat, 24 Aug 2019 10:33:37 +0000 (+0100) Subject: Bump to 0.6.1.0 X-Git-Tag: 0.6.1.0 X-Git-Url: http://git.lukelau.me/?p=lsp-test.git;a=commitdiff_plain;h=9812e6a4ec0c6be7e2d59b49fca677a16c314359 Bump to 0.6.1.0 --- diff --git a/ChangeLog.md b/ChangeLog.md index aa9d2af..a0c1856 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,9 @@ # Revision history for lsp-test +## 0.6.1.0 -- 2019-08-24 + +* Add `satisfyMaybe` (@cocreature) + ## 0.6.0.0 -- 2019-07-04 * Update to haskell-lsp-0.15.0.0 (@lorenzo) diff --git a/lsp-test.cabal b/lsp-test.cabal index 1c8350a..e4c465b 100644 --- a/lsp-test.cabal +++ b/lsp-test.cabal @@ -1,5 +1,5 @@ name: lsp-test -version: 0.6.0.0 +version: 0.6.1.0 synopsis: Functional test framework for LSP servers. description: A test framework for writing tests against diff --git a/src/Language/Haskell/LSP/Test/Parsing.hs b/src/Language/Haskell/LSP/Test/Parsing.hs index 0810d20..52f97ae 100644 --- a/src/Language/Haskell/LSP/Test/Parsing.hs +++ b/src/Language/Haskell/LSP/Test/Parsing.hs @@ -68,7 +68,7 @@ satisfy pred = satisfyMaybe (\msg -> if pred msg then Just msg else Nothing) -- | Consumes and returns the result of the specified predicate if it returns `Just`. -- --- @since 0.5.3.0 +-- @since 0.6.1.0 satisfyMaybe :: (FromServerMessage -> Maybe a) -> Session a satisfyMaybe pred = do