Hello community,

here is the log from the commit of package ghc-yesod-test for openSUSE:Factory 
checked in at 2017-06-21 13:56:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-yesod-test (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-yesod-test.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-yesod-test"

Wed Jun 21 13:56:51 2017 rev:3 rq:504686 version:1.5.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-yesod-test/ghc-yesod-test.changes    
2017-04-17 10:25:55.677471194 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-yesod-test.new/ghc-yesod-test.changes       
2017-06-21 13:56:55.165674047 +0200
@@ -1,0 +2,5 @@
+Mon Jun 12 09:41:36 UTC 2017 - psim...@suse.com
+
+- Update to version 1.5.6.
+
+-------------------------------------------------------------------

Old:
----
  yesod-test-1.5.5.tar.gz

New:
----
  yesod-test-1.5.6.tar.gz

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

Other differences:
------------------
++++++ ghc-yesod-test.spec ++++++
--- /var/tmp/diff_new_pack.HAJm5Q/_old  2017-06-21 13:56:56.221525110 +0200
+++ /var/tmp/diff_new_pack.HAJm5Q/_new  2017-06-21 13:56:56.229523982 +0200
@@ -19,7 +19,7 @@
 %global pkg_name yesod-test
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.5.5
+Version:        1.5.6
 Release:        0
 Summary:        Integration testing for WAI/Yesod Applications
 License:        MIT

++++++ yesod-test-1.5.5.tar.gz -> yesod-test-1.5.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-test-1.5.5/ChangeLog.md 
new/yesod-test-1.5.6/ChangeLog.md
--- old/yesod-test-1.5.5/ChangeLog.md   2017-02-08 10:19:49.000000000 +0100
+++ new/yesod-test-1.5.6/ChangeLog.md   2017-04-12 09:57:39.000000000 +0200
@@ -1,3 +1,8 @@
+## 1.5.6
+
+* Add assertNotEq.
+[#1375](https://github.com/yesodweb/yesod/pull/1375)
+
 ## 1.5.5
 
 * Fix warnings
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-test-1.5.5/Yesod/Test.hs 
new/yesod-test-1.5.6/Yesod/Test.hs
--- old/yesod-test-1.5.5/Yesod/Test.hs  2017-02-05 13:38:01.000000000 +0100
+++ new/yesod-test-1.5.6/Yesod/Test.hs  2017-04-12 09:57:39.000000000 +0200
@@ -86,6 +86,7 @@
 
     -- * Assertions
     , assertEqual
+    , assertNotEq
     , assertEqualNoShow
     , assertEq
 
@@ -335,6 +336,17 @@
               "First argument:  " ++ ppShow a ++ "\n" ++
               "Second argument: " ++ ppShow b ++ "\n"
 
+-- | Asserts that the two given values are not equal.
+--
+-- In case they are equal, error mesasge includes the values.
+--
+-- @since 1.5.6
+assertNotEq :: (Eq a, Show a) => String -> a -> a -> YesodExample site ()
+assertNotEq m a b =
+  liftIO $ HUnit.assertBool msg (a /= b)
+  where msg = "Assertion: " ++ m ++ "\n" ++
+              "Both arguments:  " ++ ppShow a ++ "\n"
+
 {-# DEPRECATED assertEqual "Use assertEq instead" #-}
 assertEqual :: (Eq a) => String -> a -> a -> YesodExample site ()
 assertEqual = assertEqualNoShow
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-test-1.5.5/yesod-test.cabal 
new/yesod-test-1.5.6/yesod-test.cabal
--- old/yesod-test-1.5.5/yesod-test.cabal       2017-02-08 10:19:42.000000000 
+0100
+++ new/yesod-test-1.5.6/yesod-test.cabal       2017-04-12 09:57:39.000000000 
+0200
@@ -1,5 +1,5 @@
 name:               yesod-test
-version:            1.5.5
+version:            1.5.6
 license:            MIT
 license-file:       LICENSE
 author:             Nubis <nu...@woobiz.com.ar>


Reply via email to