Mercurial > vim
comparison src/testdir/test_excmd.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 | da98d2ed8dc5 |
children | bde8020fb283 |
comparison
equal
deleted
inserted
replaced
19753:cf2885e38afd | 19754:c9cc9e5c87e0 |
---|---|
253 call term_sendkeys(buf, "C") | 253 call term_sendkeys(buf, "C") |
254 call term_sendkeys(buf, ":confirm close\n") | 254 call term_sendkeys(buf, ":confirm close\n") |
255 call WaitForAssert({-> assert_match('^\[Y\]es, (N)o, (C)ancel: *$', | 255 call WaitForAssert({-> assert_match('^\[Y\]es, (N)o, (C)ancel: *$', |
256 \ term_getline(buf, 20))}, 1000) | 256 \ term_getline(buf, 20))}, 1000) |
257 call term_sendkeys(buf, "N") | 257 call term_sendkeys(buf, "N") |
258 call term_sendkeys(buf, ":quit\n") | |
259 call StopVimInTerminal(buf) | 258 call StopVimInTerminal(buf) |
260 | 259 |
261 call delete('foo') | 260 call delete('foo') |
262 call delete('bar') | 261 call delete('bar') |
263 endfunc | 262 endfunc |