Skip to content

Commit

Permalink
Revert "Make splitFileName quickcheck test Posix only" (haskell#14)
Browse files Browse the repository at this point in the history
This reverts commit 0dd40ad.
  • Loading branch information
thomie committed Oct 27, 2014
1 parent 00e784d commit 0ea8ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion System/FilePath/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 0ea8ed5

Please sign in to comment.