summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_path_dirname.vader5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_path_dirname.vader b/test/test_path_dirname.vader
index 79b78d29..818a62a8 100644
--- a/test/test_path_dirname.vader
+++ b/test/test_path_dirname.vader
@@ -6,3 +6,8 @@ Execute(ale#path#Dirname should return empty strings should be returned for empt
Execute(ale#path#Dirname should return the dirname of paths):
AssertEqual '/foo', ale#path#Dirname('/foo/bar')
AssertEqual '/foo', ale#path#Dirname('/foo/bar/')
+
+ if has('win32')
+ AssertEqual 'C:\foo', ale#path#Dirname('C:\foo\bar')
+ AssertEqual 'C:\foo', ale#path#Dirname('C:\foo\bar\')
+ endif