summaryrefslogtreecommitdiff
path: root/src/testdir/test_expand.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-16 22:47:23 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-16 22:47:23 +0100
commitf60b796fa9870bdfc4cdeb91653bac041916077d (patch)
treed44c612998b14cadd0702018a01cdb9afdc65b77 /src/testdir/test_expand.vim
parent8c600052fabe4859470d9d0ba2ddd74a52ea9745 (diff)
downloadvim-git-f60b796fa9870bdfc4cdeb91653bac041916077d.tar.gz
patch 7.4.1111v7.4.1111
Problem: test_expand fails on MS-Windows. Solution: Always use forward slashes. Remove references to test27.
Diffstat (limited to 'src/testdir/test_expand.vim')
-rw-r--r--src/testdir/test_expand.vim6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/testdir/test_expand.vim b/src/testdir/test_expand.vim
index fd999db1b..a68c4226f 100644
--- a/src/testdir/test_expand.vim
+++ b/src/testdir/test_expand.vim
@@ -16,8 +16,10 @@ func Test_with_directories()
next Xdir?/*/file
call assert_equal('Xdir3/Xdir4/file', expand('%'))
- next! Xdir?/*/nofile
- call assert_equal('Xdir?/*/nofile', expand('%'))
+ if has('unix')
+ next! Xdir?/*/nofile
+ call assert_equal('Xdir?/*/nofile', expand('%'))
+ endif
call delete('Xdir1', 'rf')
call delete('Xdir2', 'rf')