Mercurial > vim
comparison src/testdir/test_autocmd.vim @ 19491:7803c6e82a87 v8.2.0303
patch 8.2.0303: TermChanged test fails in the GUI
Commit: https://github.com/vim/vim/commit/d28e0b3652067788fcc9c99058b0b6eee7beebee
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 22 23:08:52 2020 +0100
patch 8.2.0303: TermChanged test fails in the GUI
Problem: TermChanged test fails in the GUI.
Solution: Skip the test when running the GUI.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 22 Feb 2020 23:15:03 +0100 |
parents | 31ac050a29a7 |
children | e7eec9cae0ea |
comparison
equal
deleted
inserted
replaced
19490:ac68906da0ae | 19491:7803c6e82a87 |
---|---|
2385 func LogACmd() | 2385 func LogACmd() |
2386 call add(g:logged, line('$')) | 2386 call add(g:logged, line('$')) |
2387 endfunc | 2387 endfunc |
2388 | 2388 |
2389 func Test_TermChanged() | 2389 func Test_TermChanged() |
2390 CheckNotGui | |
2391 | |
2390 enew! | 2392 enew! |
2391 tabnew | 2393 tabnew |
2392 call setline(1, ['a', 'b', 'c', 'd']) | 2394 call setline(1, ['a', 'b', 'c', 'd']) |
2393 $ | 2395 $ |
2394 au TermChanged * call LogACmd() | 2396 au TermChanged * call LogACmd() |