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,6 +39,9 @@ set nomore
" Output all messages in English.
lang mess C
" Always use forward slashes.
set shellslash
" Source the test script. First grab the file name, in case the script
" navigates away.
let testname = expand('%')

View File

@ -584,7 +584,7 @@ static int included_patches[] = {
1114,
1113,
1112,
// 1111,
1111,
1110,
// 1109 NA
1108,

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