0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

patch 7.4.1134

Problem:    The arglist test fails on MS-Windows.
Solution:   Only check for failure of argedit on Unix.
This commit is contained in:
Bram Moolenaar
2016-01-19 13:50:57 +01:00
parent ef26954a35
commit 82e4184d48
2 changed files with 6 additions and 1 deletions

View File

@@ -226,7 +226,10 @@ function Test_argedit()
argedit a argedit a
call assert_equal(['a', 'b'], argv()) call assert_equal(['a', 'b'], argv())
call assert_equal('a', expand('%:t')) call assert_equal('a', expand('%:t'))
if has('unix')
" on MS-Windows this would edit file "a b"
call assert_fails('argedit a b', 'E172:') call assert_fails('argedit a b', 'E172:')
endif
argedit c argedit c
call assert_equal(['a', 'c', 'b'], argv()) call assert_equal(['a', 'c', 'b'], argv())
0argedit x 0argedit x

View File

@@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1134,
/**/ /**/
1133, 1133,
/**/ /**/