Skip to content

Commit ad7dac8

Browse files
committed
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.
1 parent c363251 commit ad7dac8

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/testdir/test_swap.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func Test_swap_group()
5353
endif
5454
let groups = split(system('groups'))
5555
if len(groups) <= 1
56-
throw 'Skipped: need at least two groups, got ' . groups
56+
throw 'Skipped: need at least two groups, got ' . string(groups)
5757
endif
5858

5959
call delete('Xtest')

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,8 @@ static char *(features[]) =
761761

762762
static int included_patches[] =
763763
{ /* Add new patch number below this line */
764+
/**/
765+
1265,
764766
/**/
765767
1264,
766768
/**/

0 commit comments

Comments
 (0)