diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_path_upwards.vader | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_path_upwards.vader b/test/test_path_upwards.vader index 2f7b2c0f..5e7d576e 100644 --- a/test/test_path_upwards.vader +++ b/test/test_path_upwards.vader @@ -44,3 +44,7 @@ Execute(ale#path#Upwards should return the correct path components for Windows): \ ale#path#Upwards('foo//..///foo2////bar') " Expect an empty List for empty strings. AssertEqual [], ale#path#Upwards('') + " Paths starting with // return / + AssertEqual + \ ['/foo2\bar', '/foo2', '/'], + \ ale#path#Upwards('//foo//..///foo2////bar') |