diff src/testdir/test62.in @ 5186:bea5eb942011 v7.4a.019

updated for version 7.4a.019 Problem: Invalid closing parenthesis in test 62. Command truncated at double quote. Solution: Remove the parenthesis. Change double quote to ''. (ZyX)
author Bram Moolenaar <bram@vim.org>
date Sun, 14 Jul 2013 12:21:57 +0200
parents c80838526eeb
children 45b2278e6f46
line wrap: on
line diff
--- a/src/testdir/test62.in
+++ b/src/testdir/test62.in
@@ -36,7 +36,7 @@ STARTTEST
 :call settabvar(2, 'val_list', ['red', 'blue', 'green'])
 :"
 :let test_status = 'gettabvar: fail'
-:if gettabvar(2, 'val_num') == 100 && gettabvar(2, 'val_str') == 'SetTabVar test') && gettabvar(2, 'val_list') == ['red', 'blue', 'green'])
+:if gettabvar(2, 'val_num') == 100 && gettabvar(2, 'val_str') == 'SetTabVar test') && gettabvar(2, 'val_list') == ['red', 'blue', 'green']
 :    let test_status = 'gettabvar: pass'
 :endif
 :call append(line('$'), test_status)
@@ -146,7 +146,7 @@ i=a

     endif
     let t:a='c'
     call add(g:r, join(map(range(1, tabpagenr('$')), 'gettabvar(v:val, "a")')))
-    C call map(range(1, tabpagenr('$')), 'settabvar(v:val, "a", v:val*2)')
+    C call map(range(1, tabpagenr('$')), 'settabvar(v:val, ''a'', v:val*2)')
     call add(g:r, join(map(range(1, tabpagenr('$')), 'gettabvar(v:val, "a")')))
     let w:a='a'
     C vsplit
@@ -161,7 +161,7 @@ i=a

         let g:r+=['BufLeave', 'WinLeave', 'TabLeave', 'WinEnter', 'TabEnter', 'BufEnter']
     endif
     call add(g:r, join(map(copy(winr), 'gettabwinvar('.tabn.', v:val, "a")')))
-    C call map(copy(winr), 'settabwinvar('.tabn.', v:val, "a", v:val*2)')
+    C call map(copy(winr), 'settabwinvar('.tabn.', v:val, ''a'', v:val*2)')
     call add(g:r, join(map(copy(winr), 'gettabwinvar('.tabn.', v:val, "a")')))
     if hasau
         augroup TabDestructive