diff src/testdir/screendump.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 95d6e3c9aa1e
line wrap: on
line diff
--- a/src/testdir/screendump.vim
+++ b/src/testdir/screendump.vim
@@ -25,7 +25,7 @@ func VerifyScreenDump(buf, filename, opt
   let testfile = 'failed/' . a:filename . '.dump'
 
   " Starting a terminal to make a screendump is always considered flaky.
-  let test_is_flaky = 1
+  let g:test_is_flaky = 1
 
   " Redraw to execute the code that updates the screen.  Otherwise we get the
   " text and attributes only from the internal buffer.