#24, turn back on the splitDirectories test
authorNeil Mitchell <ndmitchell@gmail.com>
Sun, 26 Oct 2014 21:36:43 +0000 (21:36 +0000)
committerNeil Mitchell <ndmitchell@gmail.com>
Sun, 26 Oct 2014 21:36:43 +0000 (21:36 +0000)
System/FilePath/Internal.hs

index 997af79..1c0e012 100644 (file)
@@ -636,8 +636,8 @@ splitPath x = [drive | drive /= ""] ++ f path
 -- >          splitDirectories "test/file" == ["test","file"]
 -- >          splitDirectories "/test/file" == ["/","test","file"]
 -- > Windows: splitDirectories "C:\\test\\file" == ["C:\\", "test", "file"]
--- > Posix:   Valid x => joinPath (splitDirectories x) `equalFilePath` x
--- > splitDirectories "" == []
+-- >          Valid x => joinPath (splitDirectories x) `equalFilePath` x
+-- >          splitDirectories "" == []
 splitDirectories :: FilePath -> [FilePath]
 splitDirectories = map dropTrailingPathSeparator . splitPath