Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
19690:7f881865a240 | 19691:60b5abfc4897 |
---|---|
23 func VerifyScreenDump(buf, filename, options, ...) | 23 func VerifyScreenDump(buf, filename, options, ...) |
24 let reference = 'dumps/' . a:filename . '.dump' | 24 let reference = 'dumps/' . a:filename . '.dump' |
25 let testfile = 'failed/' . a:filename . '.dump' | 25 let testfile = 'failed/' . a:filename . '.dump' |
26 | 26 |
27 " Starting a terminal to make a screendump is always considered flaky. | 27 " Starting a terminal to make a screendump is always considered flaky. |
28 let test_is_flaky = 1 | 28 let g:test_is_flaky = 1 |
29 | 29 |
30 " Redraw to execute the code that updates the screen. Otherwise we get the | 30 " Redraw to execute the code that updates the screen. Otherwise we get the |
31 " text and attributes only from the internal buffer. | 31 " text and attributes only from the internal buffer. |
32 redraw | 32 redraw |
33 | 33 |