changeset 7670:fd31843c7b58 v7.4.1134

commit https://github.com/vim/vim/commit/82e4184d489e2ce950c871354062fca40bf59598 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 19 13:50:57 2016 +0100 patch 7.4.1134 Problem: The arglist test fails on MS-Windows. Solution: Only check for failure of argedit on Unix.
author Christian Brabandt <cb@256bit.org>
date Tue, 19 Jan 2016 14:00:06 +0100
parents 0ec0f4954306
children ae057815f61b
files src/testdir/test_arglist.vim src/version.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_arglist.vim
+++ b/src/testdir/test_arglist.vim
@@ -226,7 +226,10 @@ function Test_argedit()
   argedit a
   call assert_equal(['a', 'b'], argv())
   call assert_equal('a', expand('%:t'))
-  call assert_fails('argedit a b', 'E172:')
+  if has('unix')
+    " on MS-Windows this would edit file "a b"
+    call assert_fails('argedit a b', 'E172:')
+  endif
   argedit c
   call assert_equal(['a', 'c', 'b'], argv())
   0argedit x
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1134,
+/**/
     1133,
 /**/
     1132,