[commit: packages/containers] cleaned_bugfix394, master, merge-doc-target, merge-fixes-5.9, merge-restrict-fix-5.8, revert-408-bugfix_394: Use QuickCheck function support (a77a692)

git at git.haskell.org git at git.haskell.org
Mon Apr 17 21:42:22 UTC 2017


Repository : ssh://git@git.haskell.org/containers

On branches: cleaned_bugfix394,master,merge-doc-target,merge-fixes-5.9,merge-restrict-fix-5.8,revert-408-bugfix_394
Link       : http://git.haskell.org/packages/containers.git/commitdiff/a77a6929ca8bc4bbb96e04e821777da503c5a83c

>---------------------------------------------------------------

commit a77a6929ca8bc4bbb96e04e821777da503c5a83c
Author: David Feuer <David.Feuer at gmail.com>
Date:   Tue May 24 13:01:22 2016 -0400

    Use QuickCheck function support
    
    Previously, a number of tests used functions directly as
    arguments to QuickCheck properties. As a result, they needed
    to include the horrifying `Text.Show.Functions`.
    
    Now the properties requiring functions use
    `Test.QuickCheck.Function.Fun`, which has both a meaningful
    `Show` instance and proper shrinks.


>---------------------------------------------------------------

a77a6929ca8bc4bbb96e04e821777da503c5a83c
 tests/deprecated-properties.hs | 27 +++++++++++++----------
 tests/intmap-properties.hs     | 29 ++++++++++++++----------
 tests/intmap-strictness.hs     | 29 ++++++++++++++----------
 tests/map-properties.hs        | 50 +++++++++++++++++++++++-------------------
 tests/map-strictness.hs        | 29 ++++++++++++++----------
 5 files changed, 96 insertions(+), 68 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc a77a6929ca8bc4bbb96e04e821777da503c5a83c


More information about the ghc-commits mailing list