vim-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.
ad7dac85c3
This commit is contained in:
Jan Edmund Lazo 2019-04-29 20:48:01 -04:00
parent 0cecf9f121
commit 3a8ebda10a

View File

@ -57,7 +57,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')