[commit: packages/filepath] master: #24, comment out a failing test (396d8b8)
git at git.haskell.org
git at git.haskell.org
Thu Mar 19 11:34:36 UTC 2015
Repository : ssh://git@git.haskell.org/filepath
On branch : master
Link : http://git.haskell.org/packages/filepath.git/commitdiff/396d8b8ee6588fd08264a89472542b0e766fc2d9
>---------------------------------------------------------------
commit 396d8b8ee6588fd08264a89472542b0e766fc2d9
Author: Neil Mitchell <ndmitchell at gmail.com>
Date: Sun Oct 26 21:00:00 2014 +0000
#24, comment out a failing test
>---------------------------------------------------------------
396d8b8ee6588fd08264a89472542b0e766fc2d9
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 f85e635..ac10ff3 100644
--- a/System/FilePath/Internal.hs
+++ b/System/FilePath/Internal.hs
@@ -640,7 +640,7 @@ splitPath x = [drive | drive /= ""] ++ f path
-- > splitDirectories "test/file" == ["test","file"]
-- > splitDirectories "/test/file" == ["/","test","file"]
-- > Windows: splitDirectories "C:\\test\\file" == ["C:\\", "test", "file"]
--- > Valid x => joinPath (splitDirectories x) `equalFilePath` x
+-- > Posix: Valid x => joinPath (splitDirectories x) `equalFilePath` x
-- > splitDirectories "" == []
splitDirectories :: FilePath -> [FilePath]
splitDirectories path =
More information about the ghc-commits
mailing list