Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-tasty-hedgehog for 
openSUSE:Factory checked in at 2022-10-13 15:44:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-tasty-hedgehog (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-tasty-hedgehog.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-tasty-hedgehog"

Thu Oct 13 15:44:14 2022 rev:4 rq:1009714 version:1.3.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-tasty-hedgehog/ghc-tasty-hedgehog.changes    
2022-08-01 21:29:05.593431702 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-tasty-hedgehog.new.2275/ghc-tasty-hedgehog.changes
  2022-10-13 15:44:48.707050257 +0200
@@ -1,0 +2,16 @@
+Wed Oct  5 08:58:31 UTC 2022 - Peter Simons <[email protected]>
+
+- Update tasty-hedgehog to version 1.3.1.0.
+  ## 1.3.1.0 -- 2022-10-03
+
+  * The instructions for reproducing test failures are now more clearly 
distinguished from `hedgehog`'s own instructions and include a pattern in the 
example to limit which tests are re-run. 
([#62](https://github.com/qfpl/tasty-hedgehog/pull/62))
+
+-------------------------------------------------------------------
+Sat Sep  3 12:40:44 UTC 2022 - Peter Simons <[email protected]>
+
+- Update tasty-hedgehog to version 1.3.0.0 revision 1.
+  ## 1.3.0.0 -- 2022-08-22
+
+  * The `testProperty` function has been undeprecated. Its behaviour differs 
from that in version `1.1.0.0` and below in that it now passes no 
`PropertyName` to Hedgehog. Therefore, Hedgehog will render the text 
`<property>` in its instructions for reproducing test failures, as opposed to 
whatever description is provided for `testProperty`.
+
+-------------------------------------------------------------------

Old:
----
  tasty-hedgehog-1.2.0.0.tar.gz

New:
----
  tasty-hedgehog-1.3.1.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-tasty-hedgehog.spec ++++++
--- /var/tmp/diff_new_pack.ZiekD9/_old  2022-10-13 15:44:49.175051171 +0200
+++ /var/tmp/diff_new_pack.ZiekD9/_new  2022-10-13 15:44:49.187051194 +0200
@@ -19,7 +19,7 @@
 %global pkg_name tasty-hedgehog
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.2.0.0
+Version:        1.3.1.0
 Release:        0
 Summary:        Integration for tasty and hedgehog
 License:        BSD-3-Clause

++++++ tasty-hedgehog-1.2.0.0.tar.gz -> tasty-hedgehog-1.3.1.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tasty-hedgehog-1.2.0.0/changelog.md 
new/tasty-hedgehog-1.3.1.0/changelog.md
--- old/tasty-hedgehog-1.2.0.0/changelog.md     2001-09-09 03:46:40.000000000 
+0200
+++ new/tasty-hedgehog-1.3.1.0/changelog.md     2001-09-09 03:46:40.000000000 
+0200
@@ -1,5 +1,13 @@
 # Revision history for tasty-hedgehog
 
+## 1.3.1.0 -- 2022-10-03
+
+* The instructions for reproducing test failures are now more clearly 
distinguished from `hedgehog`'s own instructions and include a pattern in the 
example to limit which tests are re-run. 
([#62](https://github.com/qfpl/tasty-hedgehog/pull/62))
+
+## 1.3.0.0 -- 2022-08-22
+
+* The `testProperty` function has been undeprecated. Its behaviour differs 
from that in version `1.1.0.0` and below in that it now passes no 
`PropertyName` to Hedgehog. Therefore, Hedgehog will render the text 
`<property>` in its instructions for reproducing test failures, as opposed to 
whatever description is provided for `testProperty`.
+
 ## 1.2.0.0 -- 2022-03-07
 
 * Add `testPropertyNamed` function and deprecate `testProperty`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tasty-hedgehog-1.2.0.0/src/Test/Tasty/Hedgehog.hs 
new/tasty-hedgehog-1.3.1.0/src/Test/Tasty/Hedgehog.hs
--- old/tasty-hedgehog-1.2.0.0/src/Test/Tasty/Hedgehog.hs       2001-09-09 
03:46:40.000000000 +0200
+++ new/tasty-hedgehog-1.3.1.0/src/Test/Tasty/Hedgehog.hs       2001-09-09 
03:46:40.000000000 +0200
@@ -37,13 +37,12 @@
 import Hedgehog.Internal.Report
 import Hedgehog.Internal.Seed as Seed
 
-data HP = HP PropertyName Property
+data HP = HP T.TestName (Maybe PropertyName) Property
   deriving (Typeable)
 
 -- | Create a 'T.TestTree' from a Hedgehog 'Property'.
-{-# DEPRECATED testProperty "testProperty will cause Hedgehog to provide 
incorrect instructions for re-checking properties" #-}
 testProperty :: T.TestName -> Property -> T.TestTree
-testProperty name prop = T.singleTest name (HP (PropertyName name) prop)
+testProperty name prop = T.singleTest name (HP name Nothing prop)
 
 -- | `testPropertyNamed` @testName propertyName property@ creates a
 -- 'T.TestTree' from @property@ using @testName@ as the displayed
@@ -61,7 +60,8 @@
 --
 -- @since 1.2.0.0
 testPropertyNamed :: T.TestName -> PropertyName -> Property -> T.TestTree
-testPropertyNamed name propName prop = T.singleTest name (HP propName prop)
+testPropertyNamed name propName prop =
+  T.singleTest name (HP name (Just propName) prop)
 
 -- | Create a 'T.TestTree' from a Hedgehog 'Group'.
 fromGroup :: Group -> T.TestTree
@@ -162,11 +162,12 @@
 
 reportOutput :: Bool
              -> UseColor
-             -> PropertyName
+             -> T.TestName
+             -> Maybe PropertyName
              -> Report Result
              -> IO String
-reportOutput showReplay useColor name report = do
-  s <- renderResult useColor (Just name) report
+reportOutput showReplay useColor testName name report = do
+  s <- renderResult useColor name report
   pure $ case reportStatus report of
     Failed fr ->
       let
@@ -175,9 +176,11 @@
         replayStr =
           if showReplay
           then
-            "\nUse '--hedgehog-replay \"" ++
+            "\nUse '--pattern \"$NF ~ /" ++
+            testName ++
+            "/\" --hedgehog-replay \"" ++
             show size ++ " " ++ show seed ++
-            "\"' to reproduce."
+            "\"' to reproduce from the command-line."
           else ""
       in
         s ++ replayStr ++ "\n"
@@ -193,7 +196,7 @@
            , Option (Proxy :: Proxy HedgehogShrinkRetries)
            ]
 
-  run opts (HP name (Property pConfig pTest)) yieldProgress = do
+  run opts (HP testName name (Property pConfig pTest)) yieldProgress = do
     useColor <- detectColor
     let
       HedgehogReplay         replay = lookupOption opts
@@ -221,5 +224,5 @@
                  then T.testPassed
                  else T.testFailed
 
-    out <- reportOutput showReplay useColor name report
+    out <- reportOutput showReplay useColor testName name report
     return $ resultFn out
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tasty-hedgehog-1.2.0.0/tasty-hedgehog.cabal 
new/tasty-hedgehog-1.3.1.0/tasty-hedgehog.cabal
--- old/tasty-hedgehog-1.2.0.0/tasty-hedgehog.cabal     2001-09-09 
03:46:40.000000000 +0200
+++ new/tasty-hedgehog-1.3.1.0/tasty-hedgehog.cabal     2001-09-09 
03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
 name:                tasty-hedgehog
-version:             1.2.0.0
+version:             1.3.1.0
 license:             BSD3
 license-file:        LICENCE
 author:              Dave Laing
@@ -21,10 +21,10 @@
 
 library
   exposed-modules:     Test.Tasty.Hedgehog
-  build-depends:       base >= 4.8 && <4.17
+  build-depends:       base >= 4.8 && <4.18
                      , tagged >= 0.8 && < 0.9
                      , tasty >= 0.11 && < 1.5
-                     , hedgehog >= 1.0.2 && < 1.1.2
+                     , hedgehog >= 1.0.2 && < 1.1.3
   hs-source-dirs:      src
   ghc-options:         -Wall
   default-language:    Haskell2010
@@ -33,10 +33,10 @@
   type:                exitcode-stdio-1.0
   main-is:             Main.hs
   hs-source-dirs:      test
-  build-depends:       base >= 4.8 && <4.17
+  build-depends:       base >= 4.8 && <4.18
                      , tasty >= 0.11 && < 1.5
                      , tasty-expected-failure >= 0.11 && < 0.13
-                     , hedgehog >= 1.0.2 && < 1.1.2
+                     , hedgehog >= 1.0.2 && < 1.1.3
                      , tasty-hedgehog
   ghc-options:         -Wall
   default-language:    Haskell2010
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tasty-hedgehog-1.2.0.0/test/Main.hs 
new/tasty-hedgehog-1.3.1.0/test/Main.hs
--- old/tasty-hedgehog-1.2.0.0/test/Main.hs     2001-09-09 03:46:40.000000000 
+0200
+++ new/tasty-hedgehog-1.3.1.0/test/Main.hs     2001-09-09 03:46:40.000000000 
+0200
@@ -1,4 +1,3 @@
-{-# OPTIONS_GHC -Wno-deprecations #-}
 {-# language OverloadedStrings #-}
 module Main where
 

Reply via email to