Hello community, here is the log from the commit of package ghc-HUnit for openSUSE:Factory checked in at 2018-05-30 12:10:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-HUnit (Old) and /work/SRC/openSUSE:Factory/.ghc-HUnit.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-HUnit" Wed May 30 12:10:07 2018 rev:15 rq:607824 version:1.6.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-HUnit/ghc-HUnit.changes 2017-09-15 21:12:52.718448911 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-HUnit.new/ghc-HUnit.changes 2018-05-30 12:22:31.807487633 +0200 @@ -1,0 +2,6 @@ +Mon May 14 17:02:11 UTC 2018 - [email protected] + +- Update HUnit to version 1.6.0.0. + * Generalize return type of `assertFailure` to `IO a` + +------------------------------------------------------------------- Old: ---- HUnit-1.5.0.0.tar.gz New: ---- HUnit-1.6.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-HUnit.spec ++++++ --- /var/tmp/diff_new_pack.QU2gVU/_old 2018-05-30 12:22:32.427469620 +0200 +++ /var/tmp/diff_new_pack.QU2gVU/_new 2018-05-30 12:22:32.435469387 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-HUnit # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name HUnit %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.5.0.0 +Version: 1.6.0.0 Release: 0 Summary: A unit testing framework for Haskell License: BSD-3-Clause @@ -68,9 +68,9 @@ %ghc_pkg_recache %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files -%doc CHANGELOG.md README.md examples +%doc CHANGELOG.md README.md %changelog ++++++ HUnit-1.5.0.0.tar.gz -> HUnit-1.6.0.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HUnit-1.5.0.0/CHANGELOG.md new/HUnit-1.6.0.0/CHANGELOG.md --- old/HUnit-1.5.0.0/CHANGELOG.md 2016-10-16 05:35:46.000000000 +0200 +++ new/HUnit-1.6.0.0/CHANGELOG.md 2017-03-20 02:42:25.000000000 +0100 @@ -1,5 +1,9 @@ ## Changes +#### 1.6.0.0 + +- Generalize return type of `assertFailure` to `IO a` + #### 1.5.0.0 - Preserve actual/expected for `assertEqual` failures diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HUnit-1.5.0.0/HUnit.cabal new/HUnit-1.6.0.0/HUnit.cabal --- old/HUnit-1.5.0.0/HUnit.cabal 2016-10-16 05:35:46.000000000 +0200 +++ new/HUnit-1.6.0.0/HUnit.cabal 2017-03-20 02:42:25.000000000 +0100 @@ -1,9 +1,9 @@ --- This file has been generated from package.yaml by hpack version 0.15.0. +-- This file has been generated from package.yaml by hpack version 0.17.0. -- -- see: https://github.com/sol/hpack name: HUnit -version: 1.5.0.0 +version: 1.6.0.0 cabal-version: >= 1.10 license: BSD3 license-file: LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HUnit-1.5.0.0/src/Test/HUnit/Lang.hs new/HUnit-1.6.0.0/src/Test/HUnit/Lang.hs --- old/HUnit-1.5.0.0/src/Test/HUnit/Lang.hs 2016-10-16 05:35:46.000000000 +0200 +++ new/HUnit-1.6.0.0/src/Test/HUnit/Lang.hs 2017-03-20 02:42:25.000000000 +0100 @@ -55,7 +55,7 @@ assertFailure :: HasCallStack => String -- ^ A message that is displayed with the assertion failure - -> Assertion + -> IO a assertFailure msg = msg `deepseq` E.throwIO (HUnitFailure location $ Reason msg) -- | Asserts that the specified actual value is equal to the expected value. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HUnit-1.5.0.0/tests/HUnitTestBase.lhs new/HUnit-1.6.0.0/tests/HUnitTestBase.lhs --- old/HUnit-1.5.0.0/tests/HUnitTestBase.lhs 2016-10-16 05:35:46.000000000 +0200 +++ new/HUnit-1.6.0.0/tests/HUnitTestBase.lhs 2017-03-20 02:42:25.000000000 +0100 @@ -81,7 +81,7 @@ > ok :: Test > ok = test (assert ()) > bad :: String -> Test -> bad m = test (assertFailure m) +> bad m = test (assertFailure m :: Assertion) > assertTests :: Test @@ -108,7 +108,7 @@ > "assertFailure" ~: > let msg = "simple assertFailure" -> in expectFailure msg (test (assertFailure msg)), +> in expectFailure msg (test (assertFailure msg :: Assertion)), > "assertString null" ~: expectSuccess (TestCase (assertString "")),
