forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-haskell/testpack: tweak for QuickCheck-2.8, bug #561010
Reported-by: Toralf Förster Bug: https://bugs.gentoo.org/561010 Package-Manager: portage-2.2.20
- Loading branch information
Sergei Trofimovich
committed
Sep 21, 2015
1 parent
fcc8db0
commit 45b650a
Showing
3 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
dev-haskell/testpack/files/testpack-2.1.3.0-HUnit-1.3.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/Test/HUnit/Tools.hs b/src/Test/HUnit/Tools.hs | ||
index a24a510..6b8a25e 100644 | ||
--- a/src/Test/HUnit/Tools.hs | ||
+++ b/src/Test/HUnit/Tools.hs | ||
@@ -97,3 +97,7 @@ runVerbTestText (HU.PutText put us) t = do | ||
reportFailure = reportProblem "Failure:" "Failure in: " | ||
- reportProblem p0 p1 msg ss us = put line True us | ||
+ reportProblem p0 p1 | ||
+#if MIN_VERSION_HUnit(1,3,0) | ||
+ _loc | ||
+#endif | ||
+ msg ss us = put line True us | ||
where line = "### " ++ kind ++ path' ++ '\n' : msg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters