Fixes splitfile (#11918) [bugfix]

This commit is contained in:
pgkos
2019-08-15 15:22:14 +02:00
committed by Andreas Rumpf
parent b095203f28
commit 296dfae8af
2 changed files with 18 additions and 26 deletions

View File

@@ -237,6 +237,7 @@ block splitFile:
doAssert splitFile("abc/.") == ("abc", ".", "")
doAssert splitFile("..") == ("", "..", "")
doAssert splitFile("a/..") == ("a", "..", "")
doAssert splitFile("/foo/abc....txt") == ("/foo", "abc...", ".txt")
# execShellCmd is tested in tosproc