summary refs log tree commit diff stats
path: root/tests/stdlib
diff options
context:
space:
mode:
authorpgkos <pg.kosinski@gmail.com>2019-08-15 15:22:14 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-08-15 15:22:14 +0200
commit296dfae8af61a9ce145affec791ef338b3774950 (patch)
tree8c5149af1f2ea2f8dadd65567b78e103544cb2e4 /tests/stdlib
parentb095203f28c60031a79b0c3ab39b50378ed77f67 (diff)
downloadNim-296dfae8af61a9ce145affec791ef338b3774950.tar.gz
Fixes splitfile (#11918) [bugfix]
Diffstat (limited to 'tests/stdlib')
-rw-r--r--tests/stdlib/tos.nim1
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