diff src/testdir/test_swap.vim @ 12775:bda267b9fc68 v8.0.1265

patch 8.0.1265: swap test not skipped when there is one group commit https://github.com/vim/vim/commit/ad7dac85c3c90893e78e5463ca44b874082b482f Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 4 22:21:21 2017 +0100 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.
author Christian Brabandt <cb@256bit.org>
date Sat, 04 Nov 2017 22:30:04 +0100
parents 8984342ab09e
children 3272e1cde1eb
line wrap: on
line diff
--- a/src/testdir/test_swap.vim
+++ b/src/testdir/test_swap.vim
@@ -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')