diff src/testdir/test_autocmd.vim @ 19691:60b5abfc4897 v8.2.0402

patch 8.2.0402: setting local instead of global flag Commit: https://github.com/vim/vim/commit/30d53e2c11e670845830bdfc29bf8c1615df61a8 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 18 21:10:44 2020 +0100 patch 8.2.0402: setting local instead of global flag Problem: Setting local instead of global flag. Solution: Prepend "g:" to "test_is_flaky".
author Bram Moolenaar <Bram@vim.org>
date Wed, 18 Mar 2020 21:15:03 +0100
parents c3f506e24eab
children 4e9c794c3af1
line wrap: on
line diff
--- a/src/testdir/test_autocmd.vim
+++ b/src/testdir/test_autocmd.vim
@@ -1869,7 +1869,7 @@ func Test_Changed_FirstTime()
   CheckFeature terminal
   CheckNotGui
   " Starting a terminal to run Vim is always considered flaky.
-  let test_is_flaky = 1
+  let g:test_is_flaky = 1
 
   " Prepare file for TextChanged event.
   call writefile([''], 'Xchanged.txt')