hspec-core 2.11.6 → 2.11.7
raw patch · 5 files changed
+20/−19 lines, 5 filesdep ~hspec-metaPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: hspec-meta
API changes (from Hackage documentation)
Files
- hspec-core.cabal +2/−2
- src/Test/Hspec/Core/Formatters/V2.hs +2/−1
- test/Test/Hspec/Core/Formatters/V2Spec.hs +2/−2
- test/Test/Hspec/Core/RunnerSpec.hs +13/−13
- version.yaml +1/−1
hspec-core.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: hspec-core-version: 2.11.6+version: 2.11.7 license: MIT license-file: LICENSE copyright: (c) 2011-2023 Simon Hengel,@@ -130,7 +130,7 @@ , filepath , haskell-lexer , hspec-expectations ==0.8.4.*- , hspec-meta ==2.11.6+ , hspec-meta ==2.11.7 , process , quickcheck-io >=0.2.0 , random
src/Test/Hspec/Core/Formatters/V2.hs view
@@ -358,7 +358,8 @@ unlessExpert $ do let path_ = (if unicode then ushow else show) (joinPath path) writeLine ""- writeLine (" To rerun use: --match " ++ path_)+ seed <- usedSeed+ writeLine (" To rerun use: --match " ++ path_ <> " --seed " <> show seed) where indentation = " " indent message = do
test/Test/Hspec/Core/Formatters/V2Spec.hs view
@@ -240,7 +240,7 @@ , " expected: \"λ\"" , " but got: \"μ\"" , ""- , " To rerun use: --match \"//\""+ , " To rerun use: --match \"//\" --seed 0" , "" , "Randomized with seed 0" , ""@@ -282,7 +282,7 @@ , " two" , " third" , ""- , " To rerun use: --match \"//\""+ , " To rerun use: --match \"//\" --seed 0" , "" , "Randomized with seed 0" , ""
test/Test/Hspec/Core/RunnerSpec.hs view
@@ -238,7 +238,7 @@ , "" , " 1) foo" , ""- , " To rerun use: --match \"/foo/\""+ , " To rerun use: --match \"/foo/\" --seed 23" , "" , "Randomized with seed 23" , ""@@ -328,7 +328,7 @@ , " 1) bar" , " item is focused; failing due to --fail-on=focused" , ""- , " To rerun use: --match \"/bar/\""+ , " To rerun use: --match \"/bar/\" --seed 23" , "" , "Randomized with seed 23" , ""@@ -352,7 +352,7 @@ , " 1) (unspecified behavior)" , " item has no description; failing due to --fail-on=empty-description" , ""- , " To rerun use: --match \"/(unspecified behavior)/\""+ , " To rerun use: --match \"/(unspecified behavior)/\" --seed 23" , "" , "Randomized with seed 23" , ""@@ -377,7 +377,7 @@ , " 1) bar" , " item is pending; failing due to --fail-on=pending" , ""- , " To rerun use: --match \"/bar/\""+ , " To rerun use: --match \"/bar/\" --seed 23" , "" , "Randomized with seed 23" , ""@@ -400,7 +400,7 @@ , "" , " 1) bar" , ""- , " To rerun use: --match \"/bar/\""+ , " To rerun use: --match \"/bar/\" --seed 23" , "" , "Randomized with seed 23" , ""@@ -440,7 +440,7 @@ , "" , " 1) foo bar" , ""- , " To rerun use: --match \"/foo/bar/\""+ , " To rerun use: --match \"/foo/bar/\" --seed 23" , "" , "Randomized with seed 23" , ""@@ -532,7 +532,7 @@ , " personAge = 23" , " }" , ""- , " To rerun use: --match \"/foo/\""+ , " To rerun use: --match \"/foo/\" --seed 0" , "" , "Randomized with seed 0" , ""@@ -576,7 +576,7 @@ , " uncaught exception: MyException" , " MyException" , ""- , " To rerun use: --match \"/foo/\""+ , " To rerun use: --match \"/foo/\" --seed 0" , "" , "Randomized with seed 0" , ""@@ -595,7 +595,7 @@ , " uncaught exception: MyException" , " my exception" , ""- , " To rerun use: --match \"/foo/\""+ , " To rerun use: --match \"/foo/\" --seed 0" , "" , "Randomized with seed 0" , ""@@ -614,7 +614,7 @@ , " 1) foo" , " some " ++ green "colorized" ++ " error message" , ""- , " To rerun use: --match \"/foo/\""+ , " To rerun use: --match \"/foo/\" --seed 0" , "" , "Randomized with seed 0" , ""@@ -634,7 +634,7 @@ , " 1) foo" , " some colorized error message" , ""- , " To rerun use: --match \"/foo/\""+ , " To rerun use: --match \"/foo/\" --seed 0" , "" , "Randomized with seed 0" , ""@@ -689,7 +689,7 @@ , " @@ 48 lines omitted @@" , " " , ""- , " To rerun use: --match \"/foo/\""+ , " To rerun use: --match \"/foo/\" --seed 0" , "" , "Randomized with seed 0" , ""@@ -723,7 +723,7 @@ , " 52" , " 53" , ""- , " To rerun use: --match \"/foo/\""+ , " To rerun use: --match \"/foo/\" --seed 0" , "" , "Randomized with seed 0" , ""
version.yaml view
@@ -1,4 +1,4 @@-version: &version 2.11.6+version: &version 2.11.7 synopsis: A Testing Framework for Haskell author: Simon Hengel <sol@typeful.net> maintainer: Simon Hengel <sol@typeful.net>