vim-patch:7.4.1111 (#5004)

Problem:    test_expand fails on MS-Windows.
Solution:   Always use forward slashes.  Remove references to test27.

f60b796fa9
This commit is contained in:
prollings
2016-07-06 23:13:48 +10:00
committed by Justin M. Keyes
parent 8641e3a156
commit 6cee9d1a17
3 changed files with 8 additions and 3 deletions

View File

@@ -39,8 +39,10 @@ describe('expand file name', function()
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
" Edit another file, on MS-Windows the swap file would be in use and can't
" be deleted
edit foo