1
0
forked from aniani/vim

patch 8.2.0402: setting local instead of global flag

Problem:    Setting local instead of global flag.
Solution:   Prepend "g:" to "test_is_flaky".
This commit is contained in:
Bram Moolenaar
2020-03-18 21:10:44 +01:00
parent 8dfcce3a78
commit 30d53e2c11
4 changed files with 6 additions and 4 deletions

View File

@@ -94,7 +94,7 @@ func RunVimInTerminal(arguments, options)
endtry
" Starting a terminal to run Vim is always considered flaky.
let test_is_flaky = 1
let g:test_is_flaky = 1
return buf
endfunc
@@ -102,7 +102,7 @@ endfunc
" Stop a Vim running in terminal buffer "buf".
func StopVimInTerminal(buf)
" Using a terminal to run Vim is always considered flaky.
let test_is_flaky = 1
let g:test_is_flaky = 1
call assert_equal("running", term_getstatus(a:buf))