From 9812e6a4ec0c6be7e2d59b49fca677a16c314359 Mon Sep 17 00:00:00 2001 From: Luke Lau Date: Sat, 24 Aug 2019 11:33:37 +0100 Subject: [PATCH] Bump to 0.6.1.0 --- ChangeLog.md | 4 ++++ lsp-test.cabal | 2 +- src/Language/Haskell/LSP/Test/Parsing.hs | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) 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 -- 2.30.2