]> granicus.if.org Git - vim/commitdiff
patch 8.0.1265: swap test not skipped when there is one group v8.0.1265
authorBram Moolenaar <Bram@vim.org>
Sat, 4 Nov 2017 21:21:21 +0000 (22:21 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 4 Nov 2017 21:21:21 +0000 (22:21 +0100)
Problem:    Swap test not skipped when there is one group.
Solution:   Convert list to string for the message.

src/testdir/test_swap.vim
src/version.c

index d11c124d0a5550a815da2f2d58d2db50a5f9de1a..457edf685a858b71d332b33183f553016a5c5617 100644 (file)
@@ -53,7 +53,7 @@ func Test_swap_group()
   endif
   let groups = split(system('groups'))
   if len(groups) <= 1
-    throw 'Skipped: need at least two groups, got ' . groups
+    throw 'Skipped: need at least two groups, got ' . string(groups)
   endif
 
   call delete('Xtest')
index e83549c98e213a68c9f48b59aa2ba32d852f5a58..78b58115d32ec5c2778fbb149708031dc01cc012 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1265,
 /**/
     1264,
 /**/