cabal-gild 1.3.0.0 → 1.3.0.1
raw patch · 3 files changed
+7/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- cabal-gild.cabal +1/−1
- source/library/CabalGild/Unstable/Action/Render.hs +1/−1
- source/test-suite/Main.hs +5/−0
cabal-gild.cabal view
@@ -11,7 +11,7 @@ maintainer: Taylor Fausak name: cabal-gild synopsis: Formats package descriptions.-version: 1.3.0.0+version: 1.3.0.1 source-repository head type: git
source/library/CabalGild/Unstable/Action/Render.hs view
@@ -53,7 +53,7 @@ $ fieldLine i fl ) _ ->- Lens.set Block.lineAfterLens True $+ Lens.set Block.lineAfterLens (not $ null fls) $ comments i (snd $ Name.annotation n) <> Block.fromLine Line.Line
source/test-suite/Main.hs view
@@ -1124,6 +1124,11 @@ "library\n -- cabal-gild: discover .\n exposed-modules:\n ..." "library\n -- cabal-gild: discover .\n exposed-modules:\n M\n" + Hspec.it "does not put a blank line after an empty field" $ do+ expectGilded+ "f:\ng: a"+ "f:\ng: a\n"+ shouldBeFailure :: (Stack.HasCallStack, Eq e, Exception.Exception e, Show a) => Either Exception.SomeException a ->