packages feed

hls-splice-plugin 2.1.0.0 → 2.2.0.0

raw patch · 2 files changed

+6/−6 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-splice-plugin.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.4 name:               hls-splice-plugin-version:            2.1.0.0+version:            2.2.0.0 synopsis:   HLS Plugin to expand TemplateHaskell Splices and QuasiQuotes @@ -42,8 +42,8 @@     , foldl     , ghc     , ghc-exactprint-    , ghcide                == 2.1.0.0-    , hls-plugin-api        == 2.1.0.0+    , ghcide                == 2.2.0.0+    , hls-plugin-api        == 2.2.0.0     , hls-refactor-plugin     , lens     , lsp@@ -70,6 +70,6 @@     , base     , filepath     , hls-splice-plugin-    , hls-test-utils == 2.1.0.0+    , hls-test-utils == 2.2.0.0     , text     , row-types
test/Main.hs view
@@ -69,7 +69,7 @@  goldenTest :: FilePath -> ExpandStyle -> Int -> Int -> TestTree goldenTest fp tc line col =-  goldenWithHaskellDoc splicePlugin (fp <> " (golden)") testDataDir fp "expected" "hs" $ \doc -> do+  goldenWithHaskellDoc def splicePlugin (fp <> " (golden)") testDataDir fp "expected" "hs" $ \doc -> do     -- wait for the entire build to finish, so that code actions that     -- use stale data will get uptodate stuff     void waitForBuildQueue@@ -82,7 +82,7 @@  goldenTestWithEdit :: FilePath -> FilePath -> ExpandStyle -> Int -> Int -> TestTree goldenTestWithEdit fp expect tc line col =-  goldenWithHaskellDoc splicePlugin (fp <> " (golden)") testDataDir fp expect "hs" $ \doc -> do+  goldenWithHaskellDoc def splicePlugin (fp <> " (golden)") testDataDir fp expect "hs" $ \doc -> do      orig <- documentContents doc      let        lns = T.lines orig