packages feed

stylish-haskell 0.9.1.0 → 0.9.1.1

raw patch · 3 files changed

+23/−2 lines, 3 filesdep ~aesonPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: aeson

API changes (from Hackage documentation)

Files

CHANGELOG view
@@ -1,5 +1,8 @@ # CHANGELOG +- 0.9.1.1 (2018-04-26)+    * Bump `aeson` to 1.3 for tests as well+ - 0.9.1.0 (2018-04-26)     * Support GHC 8.4.1 by adding instance SemiGroup ImportPortion (by George       Wilson)
stylish-haskell.cabal view
@@ -1,5 +1,5 @@ Name:          stylish-haskell-Version:       0.9.1.0+Version:       0.9.1.1 Synopsis:      Haskell code prettifier Homepage:      https://github.com/jaspervdj/stylish-haskell License:       BSD3@@ -118,7 +118,7 @@     test-framework       >= 0.4 && < 0.9,     test-framework-hunit >= 0.2 && < 0.4,     -- Copied from regular dependencies...-    aeson            >= 0.6    && < 1.3,+    aeson            >= 0.6    && < 1.4,     base             >= 4.8    && < 5,     bytestring       >= 0.9    && < 0.11,     containers       >= 0.3    && < 0.6,
tests/Language/Haskell/Stylish/Step/SimpleAlign/Tests.hs view
@@ -25,6 +25,7 @@     , testCase "case 05" case05     , testCase "case 06" case06     , testCase "case 07" case07+    , testCase "case 08" case08     ]  @@ -147,4 +148,21 @@         , "    { foo :: String"         , "    , barqux :: Int"         , "    }"+        ]+++--------------------------------------------------------------------------------+case08 :: Assertion+case08 = expected @=? testStep (step 80 defaultConfig) input+  where+    input = unlines+        [ "canDrink mbAge = case mbAge of"+        , "    Just age | age > 18 -> True"+        , "    _ -> False"+        ]++    expected = unlines+        [ "canDrink mbAge = case mbAge of"+        , "    Just age | age > 18 -> True"+        , "    _                   -> False"         ]