From 035c364b35243e0052e3d8ab2c5b41dd63dbfb0c Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Mon, 30 Dec 2019 14:32:57 +0100 Subject: [PATCH] Fix doctests-posix --- hpath.cabal | 3 ++- src/System/Posix/FilePath.hs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/hpath.cabal b/hpath.cabal index d8bd92b..d97eb3c 100644 --- a/hpath.cabal +++ b/hpath.cabal @@ -76,7 +76,8 @@ test-suite doctests-posix hpath, doctest >= 0.8, HUnit, - QuickCheck + QuickCheck, + word8 test-suite spec if os(windows) diff --git a/src/System/Posix/FilePath.hs b/src/System/Posix/FilePath.hs index 4306368..dfe3d5d 100644 --- a/src/System/Posix/FilePath.hs +++ b/src/System/Posix/FilePath.hs @@ -96,6 +96,7 @@ import Control.Arrow (second) -- $setup -- >>> import Data.Char -- >>> import Data.Maybe +-- >>> import Data.Word8 -- >>> import Test.QuickCheck -- >>> import Control.Applicative -- >>> import qualified Data.ByteString as BS