Commit cdc079e8 authored by Clint Adams's avatar Clint Adams
Browse files

ed25519: revise QuickCheck patch

parent 903bf657
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
haskell-ed25519 (0.0.5.0-10) unstable; urgency=medium

  * Better patch for newer QuickCheck.

 -- Clint Adams <clint@debian.org>  Sat, 14 Apr 2018 12:10:38 -0400

haskell-ed25519 (0.0.5.0-9) unstable; urgency=medium

  * Patch for newer QuickCheck.
+13 −0
Original line number Diff line number Diff line
@@ -9,3 +9,16 @@
       ed25519
 
 --
--- a/tests/properties.hs
+++ b/tests/properties.hs
@@ -86,7 +86,9 @@
       case r of
         Success n _ _           -> return (True, n)
         GaveUp  n _ _           -> return (True, n)
-#if MIN_VERSION_QuickCheck(2,7,0)
+#if MIN_VERSION_QuickCheck(2,10,0)
+        Failure n _ _ _ _ _ _ _ _ _ _ -> return (False, n)
+#elif MIN_VERSION_QuickCheck(2,7,0)
         Failure n _ _ _ _ _ _ _ _ _ -> return (False, n)
 #elif MIN_VERSION_QuickCheck(2,6,0)
         Failure n _ _ _ _ _ _ _ -> return (False, n)