packages feed

hspec-discover 0.0.4 → 0.0.5

raw patch · 4 files changed

+36/−3 lines, 4 filesdep +hspec-discoverPVP ok

version bump matches the API change (PVP)

Dependencies added: hspec-discover

API changes (from Hackage documentation)

Files

+ example/Spec.hs view
@@ -0,0 +1,1 @@+{-# OPTIONS_GHC -F -pgmF hspec-discover #-}
hspec-discover.cabal view
@@ -1,5 +1,5 @@ name:             hspec-discover-version:          0.0.4+version:          0.0.5 license:          MIT license-file:     LICENSE copyright:        (c) 2012 Simon Hengel@@ -55,3 +55,30 @@     , directory     , hspec     , hspec-shouldbe++test-suite example+  type:+      exitcode-stdio-1.0+  ghc-options:+      -Wall -Werror+  hs-source-dirs:+      example+  main-is:+      Spec.hs+  build-depends:+      base >= 4 && <= 5+    , hspec-shouldbe+    , hspec-discover++test-suite integration-test-empty+  type:+      exitcode-stdio-1.0+  ghc-options:+      -Wall -Werror+  hs-source-dirs:+      integration-test/empty+  main-is:+      Spec.hs+  build-depends:+      base >= 4 && <= 5+    , hspec-discover
+ integration-test/empty/Spec.hs view
@@ -0,0 +1,1 @@+{-# OPTIONS_GHC -F -pgmF hspec-discover #-}
src/Run.hs view
@@ -65,7 +65,9 @@  -- | Convert a list of specs to code. formatSpecs :: [SpecNode] -> ShowS-formatSpecs = sequenceS . map formatSpec+formatSpecs xs+  | null xs   = "return ()"+  | otherwise = sequenceS (map formatSpec xs)  -- | Convert a spec to code. formatSpec :: SpecNode -> ShowS@@ -83,7 +85,9 @@ -- -- Hierarchical modules are mapped to nested specs. formatSpecsNested :: [SpecNode] -> ShowS-formatSpecsNested = sequenceS . map formatSpecNested+formatSpecsNested xs+  | null xs   = "return ()"+  | otherwise = sequenceS (map formatSpecNested xs)  -- | Convert a spec to code. --