From 0ea8ed51e9e30f4324e58f02eff18db092ad08f1 Mon Sep 17 00:00:00 2001 From: Thomas Miedema Date: Mon, 27 Oct 2014 14:32:26 +0100 Subject: [PATCH] Revert "Make splitFileName quickcheck test Posix only" (#14) This reverts commit 0dd40adf8d4a8a3f409f3a877dba2ae7e98a5c5b. --- System/FilePath/Internal.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/FilePath/Internal.hs b/System/FilePath/Internal.hs index c3f2721d..323f8e3e 100644 --- a/System/FilePath/Internal.hs +++ b/System/FilePath/Internal.hs @@ -426,7 +426,7 @@ isDrive x = not (null x) && null (dropDrive x) -- | Split a filename into directory and file. 'combine' is the inverse. -- -- > Valid x => uncurry () (splitFileName x) == x || fst (splitFileName x) == "./" --- > Posix: Valid x => isValid (fst (splitFileName x)) +-- > Valid x => isValid (fst (splitFileName x)) -- > splitFileName "file/bob.txt" == ("file/", "bob.txt") -- > splitFileName "file/" == ("file/", "") -- > splitFileName "bob" == ("./", "bob")