packages feed

hls-retrie-plugin 2.1.0.0 → 2.2.0.0

raw patch · 2 files changed

+6/−9 lines, 2 filesdep ~ghcidedep ~hls-plugin-apidep ~hls-test-utilsPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: ghcide, hls-plugin-api, hls-test-utils

API changes (from Hackage documentation)

Files

hls-retrie-plugin.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.2 name:               hls-retrie-plugin-version:            2.1.0.0+version:            2.2.0.0 synopsis:           Retrie integration plugin for Haskell Language Server description:   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>@@ -28,9 +28,9 @@     , directory     , extra     , ghc-    , ghcide                == 2.1.0.0+    , ghcide                == 2.2.0.0     , hashable-    , hls-plugin-api        == 2.1.0.0+    , hls-plugin-api        == 2.2.0.0     , hls-refactor-plugin     , lens     , lsp@@ -65,5 +65,5 @@     , hls-plugin-api     , hls-refactor-plugin     , hls-retrie-plugin-    , hls-test-utils             == 2.1.0.0+    , hls-test-utils             == 2.2.0.0     , text
test/Main.hs view
@@ -80,13 +80,10 @@  goldenWithRetrie :: TestName -> FilePath -> (TextDocumentIdentifier -> Session ()) -> TestTree goldenWithRetrie title path act =-    goldenWithHaskellDoc testPlugins title testDataDir path "expected" "hs" $ \doc -> do-        sendConfigurationChanged $ toJSON $-            def { plugins = M.fromList [("retrie", def)] }-        act doc+    goldenWithHaskellDoc (def { plugins = M.fromList [("retrie", def)] }) testPlugins title testDataDir path "expected" "hs" act  runWithRetrie :: Session a -> IO a-runWithRetrie = runSessionWithServer testPlugins testDataDir+runWithRetrie = runSessionWithServer def testPlugins testDataDir  testPlugins :: PluginTestDescriptor Development.IDE.GHC.ExactPrint.Log testPlugins =