Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
19690:7f881865a240 | 19691:60b5abfc4897 |
---|---|
1867 | 1867 |
1868 func Test_Changed_FirstTime() | 1868 func Test_Changed_FirstTime() |
1869 CheckFeature terminal | 1869 CheckFeature terminal |
1870 CheckNotGui | 1870 CheckNotGui |
1871 " Starting a terminal to run Vim is always considered flaky. | 1871 " Starting a terminal to run Vim is always considered flaky. |
1872 let test_is_flaky = 1 | 1872 let g:test_is_flaky = 1 |
1873 | 1873 |
1874 " Prepare file for TextChanged event. | 1874 " Prepare file for TextChanged event. |
1875 call writefile([''], 'Xchanged.txt') | 1875 call writefile([''], 'Xchanged.txt') |
1876 let buf = term_start([GetVimProg(), '--clean', '-c', 'set noswapfile'], {'term_rows': 3}) | 1876 let buf = term_start([GetVimProg(), '--clean', '-c', 'set noswapfile'], {'term_rows': 3}) |
1877 call assert_equal('running', term_getstatus(buf)) | 1877 call assert_equal('running', term_getstatus(buf)) |