Permalink
Browse files

patch 8.0.1265: swap test not skipped when there is one group

Problem:    Swap test not skipped when there is one group.
Solution:   Convert list to string for the message.
  • Loading branch information...
brammool committed Nov 4, 2017
1 parent c363251 commit ad7dac85c3c90893e78e5463ca44b874082b482f
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/testdir/test_swap.vim
  2. +2 −0 src/version.c
@@ -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')
View
@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1265,
/**/
1264,
/**/

0 comments on commit ad7dac8

Please sign in to comment.