diff options
author | w0rp <devw0rp@gmail.com> | 2017-10-23 01:26:31 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-10-23 01:26:31 +0100 |
commit | 231398dddc59b01bc83f5a333af1ae741d31ed51 (patch) | |
tree | 1e5dab4cca104a01d11c7428e3c802296cb3bf31 /test/test_get_abspath.vader | |
parent | c4579e1809d2ca40f917a4ccd665693ba0a33dcb (diff) | |
download | ale-231398dddc59b01bc83f5a333af1ae741d31ed51.zip |
Get more of the tests to pass on Windows
Diffstat (limited to 'test/test_get_abspath.vader')
-rw-r--r-- | test/test_get_abspath.vader | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_get_abspath.vader b/test/test_get_abspath.vader index 2def3773..5f813804 100644 --- a/test/test_get_abspath.vader +++ b/test/test_get_abspath.vader @@ -3,10 +3,10 @@ Execute(Relative paths should be resolved correctly): \ '/foo/bar/baz/whatever.txt', \ ale#path#GetAbsPath('/foo/bar/xyz', '../baz/whatever.txt') AssertEqual - \ '/foo/bar/xyz/whatever.txt', + \ has('win32') ? '/foo/bar/xyz\whatever.txt' : '/foo/bar/xyz/whatever.txt', \ ale#path#GetAbsPath('/foo/bar/xyz', './whatever.txt') AssertEqual - \ '/foo/bar/xyz/whatever.txt', + \ has('win32') ? '/foo/bar/xyz\whatever.txt' : '/foo/bar/xyz/whatever.txt', \ ale#path#GetAbsPath('/foo/bar/xyz', 'whatever.txt') Execute(Absolute paths should be resolved correctly): |