[Git][haskell-team/DHG_packages][master] libmpd: fix type mismatch

Clint Adams gitlab at salsa.debian.org
Sun Apr 15 05:18:09 BST 2018


Clint Adams pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
25e825e6 by Clint Adams at 2018-04-15T00:17:42-04:00
libmpd: fix type mismatch

- - - - -


2 changed files:

- p/haskell-libmpd/debian/changelog
- p/haskell-libmpd/debian/patches/newer-quickcheck


Changes:

=====================================
p/haskell-libmpd/debian/changelog
=====================================
--- a/p/haskell-libmpd/debian/changelog
+++ b/p/haskell-libmpd/debian/changelog
@@ -1,3 +1,9 @@
+haskell-libmpd (0.9.0.8-3) unstable; urgency=medium
+
+  * Fix type mismatch.
+
+ -- Clint Adams <clint at debian.org>  Sun, 15 Apr 2018 00:17:18 -0400
+
 haskell-libmpd (0.9.0.8-2) unstable; urgency=medium
 
   * Try to make QuickCheck happier.


=====================================
p/haskell-libmpd/debian/patches/newer-quickcheck
=====================================
--- a/p/haskell-libmpd/debian/patches/newer-quickcheck
+++ b/p/haskell-libmpd/debian/patches/newer-quickcheck
@@ -1,11 +1,20 @@
 --- a/tests/Arbitrary.hs
 +++ b/tests/Arbitrary.hs
+@@ -13,7 +13,7 @@
+     , positive, field
+     ) where
+ 
+-import           Control.Applicative ((<$>), (<*>))
++import           Control.Applicative ((<$>), (<*>), some)
+ import           Control.Monad (liftM2, liftM3, replicateM)
+ import           Data.Char (isSpace)
+ import           Data.List (intersperse)
 @@ -46,7 +46,7 @@
  
  -- MPD fields can't contain newlines and the parser skips initial spaces.
  field :: Gen String
 -field = (filter (/= '\n') . dropWhile isSpace) <$> arbitrary
-+field = (filter (/= '\n') . dropWhile isSpace) <$> arbitraryPrintableChar
++field = (filter (/= '\n') . dropWhile isSpace) <$> some arbitraryPrintableChar
  
  fieldBS :: Gen ByteString
  fieldBS = UTF8.fromString <$> field



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/25e825e6d0ca4298bee555d779d101a2108c817f

---
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/25e825e6d0ca4298bee555d779d101a2108c817f
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20180415/999a6d42/attachment-0001.html>


More information about the Pkg-haskell-commits mailing list