export TestableFilePath constructor
authorJoey Hess <joeyh@joeyh.name>
Wed, 13 Jan 2021 17:23:35 +0000 (13:23 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 13 Jan 2021 17:23:35 +0000 (13:23 -0400)
Useful for eg, replicating failures in ghci. No need for this to be a
smart constructor, as long as it's used with valid filepaths, it's ok
and if not the test breaks.

Utility/QuickCheck.hs

index 2093670a06aa93fa673bd2afd4509f72dd23b8c9..9244a28baadce53c78e3e504553a77c49a253129 100644 (file)
@@ -12,7 +12,7 @@ module Utility.QuickCheck
        ( module X
        , TestableString
        , fromTestableString
-       , TestableFilePath
+       , TestableFilePath(..)
        , fromTestableFilePath
        , nonNegative
        , positive