diff options
author | pgkos <pg.kosinski@gmail.com> | 2019-08-15 15:22:14 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-08-15 15:22:14 +0200 |
commit | 296dfae8af61a9ce145affec791ef338b3774950 (patch) | |
tree | 8c5149af1f2ea2f8dadd65567b78e103544cb2e4 /tests/stdlib | |
parent | b095203f28c60031a79b0c3ab39b50378ed77f67 (diff) | |
download | Nim-296dfae8af61a9ce145affec791ef338b3774950.tar.gz |
Fixes splitfile (#11918) [bugfix]
Diffstat (limited to 'tests/stdlib')
-rw-r--r-- | tests/stdlib/tos.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/stdlib/tos.nim b/tests/stdlib/tos.nim index 3a25079ec..0a264b3fb 100644 --- a/tests/stdlib/tos.nim +++ b/tests/stdlib/tos.nim @@ -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 |