Add another doctest to splitDirectories
This commit is contained in:
parent
607e67378c
commit
d0beba227a
@ -486,6 +486,8 @@ joinPath = foldr (</>) BS.empty
|
||||
--
|
||||
-- >>> splitDirectories "/path/to/file.txt"
|
||||
-- ["/","path","to","file.txt"]
|
||||
-- >>> splitDirectories "path/to/file.txt"
|
||||
-- ["path","to","file.txt"]
|
||||
-- >>> splitDirectories ""
|
||||
-- []
|
||||
splitDirectories :: RawFilePath -> [RawFilePath]
|
||||
|
Loading…
Reference in New Issue
Block a user