hls-rename-plugin 2.1.0.0 → 2.2.0.0
raw patch · 2 files changed
+5/−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-rename-plugin.cabal +4/−4
- test/Main.hs +1/−5
hls-rename-plugin.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-rename-plugin-version: 2.1.0.0+version: 2.2.0.0 synopsis: Rename plugin for Haskell Language Server description: Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>@@ -29,11 +29,11 @@ , extra , ghc , ghc-exactprint- , ghcide == 2.1.0.0+ , ghcide == 2.2.0.0 , hashable , hiedb , hie-compat- , hls-plugin-api == 2.1.0.0+ , hls-plugin-api == 2.2.0.0 , hls-refactor-plugin , lens , lsp@@ -60,4 +60,4 @@ , filepath , hls-plugin-api , hls-rename-plugin- , hls-test-utils == 2.1.0.0+ , hls-test-utils == 2.2.0.0
test/Main.hs view
@@ -69,11 +69,7 @@ goldenWithRename :: TestName-> FilePath -> (TextDocumentIdentifier -> Session ()) -> TestTree goldenWithRename title path act =- goldenWithHaskellDoc renamePlugin title testDataDir path "expected" "hs" $ \doc -> do- sendConfigurationChanged $ toJSON $- def { plugins = M.fromList [("rename", def { plcConfig = "crossModule" .= True })] }- act doc-+ goldenWithHaskellDoc (def { plugins = M.fromList [("rename", def { plcConfig = "crossModule" .= True })] }) renamePlugin title testDataDir path "expected" "hs" act testDataDir :: FilePath testDataDir = "test" </> "testdata"