packages feed

lsp-test 0.5.2.1 → 0.5.2.2

raw patch · 3 files changed

+5/−5 lines, 3 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.5.2.1+version:             0.5.2.2 synopsis:            Functional test framework for LSP servers. description:   A test framework for writing tests against@@ -36,7 +36,7 @@                      , parser-combinators:Control.Applicative.Combinators   default-language:    Haskell2010   build-depends:       base >= 4.10 && < 5-                     , haskell-lsp == 0.12.*+                     , haskell-lsp >= 0.12.1 && < 0.13                      , aeson                      , aeson-pretty                      , ansi-terminal@@ -78,7 +78,7 @@   build-depends:       base >= 4.10 && < 5                      , hspec                      , lens-                     , haskell-lsp == 0.12.*+                     , haskell-lsp >= 0.12.1 && < 0.13                      , lsp-test                      , data-default                      , aeson
src/Language/Haskell/LSP/Test.hs view
@@ -436,7 +436,7 @@   fs <- vfs <$> get   let ver =         case fs Map.!? uri of-          Just (VirtualFile v _) -> Just v+          Just (VirtualFile v _ _) -> Just v           _ -> Nothing   return (VersionedTextDocumentIdentifier uri ver) 
src/Language/Haskell/LSP/Test/Session.hs view
@@ -256,7 +256,7 @@   forM_ bumpedVersions $ \(VersionedTextDocumentIdentifier uri v) ->     modify $ \s ->       let oldVFS = vfs s-          update (VirtualFile oldV t) = VirtualFile (fromMaybe oldV v) t+          update (VirtualFile oldV t mf) = VirtualFile (fromMaybe oldV v) t mf           newVFS = Map.adjust update uri oldVFS       in s { vfs = newVFS }