summary refs log tree commit diff stats
path: root/tests/stdlib
diff options
context:
space:
mode:
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 e49ab2506..577baea87 100644
--- a/tests/stdlib/tos.nim
+++ b/tests/stdlib/tos.nim
@@ -240,6 +240,7 @@ block absolutePath:
     doAssert absolutePath("/a", "b/") == "/a"
 
 block splitFile:
+  doAssert splitFile("") == ("", "", "")
   doAssert splitFile("abc/") == ("abc", "", "")
   doAssert splitFile("/") == ("/", "", "")
   doAssert splitFile("./abc") == (".", "abc", "")