mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
8641e3a156
commit
6cee9d1a17
@ -39,6 +39,9 @@ set nomore
|
|||||||
" Output all messages in English.
|
" Output all messages in English.
|
||||||
lang mess C
|
lang mess C
|
||||||
|
|
||||||
|
" Always use forward slashes.
|
||||||
|
set shellslash
|
||||||
|
|
||||||
" Source the test script. First grab the file name, in case the script
|
" Source the test script. First grab the file name, in case the script
|
||||||
" navigates away.
|
" navigates away.
|
||||||
let testname = expand('%')
|
let testname = expand('%')
|
||||||
|
@ -584,7 +584,7 @@ static int included_patches[] = {
|
|||||||
1114,
|
1114,
|
||||||
1113,
|
1113,
|
||||||
1112,
|
1112,
|
||||||
// 1111,
|
1111,
|
||||||
1110,
|
1110,
|
||||||
// 1109 NA
|
// 1109 NA
|
||||||
1108,
|
1108,
|
||||||
|
@ -39,8 +39,10 @@ describe('expand file name', function()
|
|||||||
|
|
||||||
next Xdir?/*/file
|
next Xdir?/*/file
|
||||||
call assert_equal('Xdir3/Xdir4/file', expand('%'))
|
call assert_equal('Xdir3/Xdir4/file', expand('%'))
|
||||||
next! Xdir?/*/nofile
|
if has('unix')
|
||||||
call assert_equal('Xdir?/*/nofile', expand('%'))
|
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
|
" Edit another file, on MS-Windows the swap file would be in use and can't
|
||||||
" be deleted
|
" be deleted
|
||||||
edit foo
|
edit foo
|
||||||
|
Loading…
Reference in New Issue
Block a user