hls-overloaded-record-dot-plugin 2.1.0.0 → 2.2.0.0
raw patch · 2 files changed
+3/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
hls-overloaded-record-dot-plugin.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: hls-overloaded-record-dot-plugin-version: 2.1.0.0+version: 2.2.0.0 synopsis: Overloaded record dot plugin for Haskell Language Server description: Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
test/Main.hs view
@@ -36,13 +36,13 @@ mkNoResolveTest :: TestName -> FilePath -> T.Text -> UInt -> UInt -> UInt -> UInt -> TestTree mkNoResolveTest title fp selectorName x1 y1 x2 y2 =- goldenWithHaskellAndCaps codeActionNoResolveCaps plugin title testDataDir fp "expected" "hs" $ \doc -> do+ goldenWithHaskellAndCaps def codeActionNoResolveCaps plugin title testDataDir fp "expected" "hs" $ \doc -> do (act:_) <- getExplicitFieldsActions doc selectorName x1 y1 x2 y2 executeCodeAction act mkResolveTest :: TestName -> FilePath -> T.Text -> UInt -> UInt -> UInt -> UInt -> TestTree mkResolveTest title fp selectorName x1 y1 x2 y2 =- goldenWithHaskellAndCaps codeActionResolveCaps plugin title testDataDir fp "expected" "hs" $ \doc -> do+ goldenWithHaskellAndCaps def codeActionResolveCaps plugin title testDataDir fp "expected" "hs" $ \doc -> do (act:_) <- getAndResolveExplicitFieldsActions doc selectorName x1 y1 x2 y2 executeCodeAction act