Mercurial > vim
comparison src/testdir/test_ex_mode.vim @ 19754:c9cc9e5c87e0 v8.2.0433
patch 8.2.0433: INT signal not properly tested
Commit: https://github.com/vim/vim/commit/bad8804cdd739a5a7321b8411ad7fd4f45741b54
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 23 20:54:32 2020 +0100
patch 8.2.0433: INT signal not properly tested
Problem: INT signal not properly tested.
Solution: Add a test. Also clean up some unnecessary lines. (Dominique
Pelle, closes #5828)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 23 Mar 2020 21:00:04 +0100 |
parents | f70a3c1000bb |
children | 031184ace7c5 |
comparison
equal
deleted
inserted
replaced
19753:cf2885e38afd | 19754:c9cc9e5c87e0 |
---|---|
90 \ term_getline(buf, 5))}, 1000) | 90 \ term_getline(buf, 5))}, 1000) |
91 | 91 |
92 call term_sendkeys(buf, ":vi\<CR>") | 92 call term_sendkeys(buf, ":vi\<CR>") |
93 call WaitForAssert({-> assert_match('foo bar', term_getline(buf, 1))}, 1000) | 93 call WaitForAssert({-> assert_match('foo bar', term_getline(buf, 1))}, 1000) |
94 | 94 |
95 call term_sendkeys(buf, ":q!\n") | |
96 call StopVimInTerminal(buf) | 95 call StopVimInTerminal(buf) |
97 endfunc | 96 endfunc |
98 | 97 |
99 " Test for displaying lines from an empty buffer in Ex mode | 98 " Test for displaying lines from an empty buffer in Ex mode |
100 func Test_Ex_emptybuf() | 99 func Test_Ex_emptybuf() |