Mercurial > vim
view src/testdir/test_lua.vim @ 13132:fe0cec169589 v8.0.1440
patch 8.0.1440: terminal window: some vterm responses are delayed
commit https://github.com/vim/vim/commit/b50773c6df0bc2c9c2ab1afecc78083abc606de0
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 30 22:31:19 2018 +0100
patch 8.0.1440: terminal window: some vterm responses are delayed
Problem: Terminal window: some vterm responses are delayed.
Solution: After writing input. check if there is output to read. (Ozaki
Kiichi, closes #2594)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 30 Jan 2018 22:45:05 +0100 |
parents | 6c3d42d18366 |
children | 2e95ea9afa1e |
line wrap: on
line source
" Tests for Lua. " TODO: move tests from test85.in here. if !has('lua') finish endif func Test_luado() new call setline(1, ['one', 'two', 'three']) luado vim.command("%d_") bwipe! " Check switching to another buffer does not trigger ml_get error. new let wincount = winnr('$') call setline(1, ['one', 'two', 'three']) luado vim.command("new") call assert_equal(wincount + 1, winnr('$')) bwipe! bwipe! endfunc