From d4df5fc90e83334de32fe5fe4a200f3b75a2d8c9 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 29 Aug 2020 00:19:01 -0400 Subject: vim-patch:8.1.1806: test for display updating doesn't check without statusline Problem: Test for display updating doesn't check without statusline. Solution: Add screenshots without a status line. https://github.com/vim/vim/commit/7cc535175a233c6f02cdb5a364b3590560f5bfcb --- src/nvim/testdir/test_display.vim | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src') diff --git a/src/nvim/testdir/test_display.vim b/src/nvim/testdir/test_display.vim index e41fcdf294..db730e0bfd 100644 --- a/src/nvim/testdir/test_display.vim +++ b/src/nvim/testdir/test_display.vim @@ -90,6 +90,17 @@ func Test_scroll_without_region() call term_sendkeys(buf, ":4put\") call VerifyScreenDump(buf, 'Test_scroll_no_region_3', {}) + call term_sendkeys(buf, ":undo\") + call term_sendkeys(buf, ":undo\") + call term_sendkeys(buf, ":set laststatus=0\") + call VerifyScreenDump(buf, 'Test_scroll_no_region_4', {}) + + call term_sendkeys(buf, ":3delete\") + call VerifyScreenDump(buf, 'Test_scroll_no_region_5', {}) + + call term_sendkeys(buf, ":4put\") + call VerifyScreenDump(buf, 'Test_scroll_no_region_6', {}) + " clean up call StopVimInTerminal(buf) call delete('Xtestscroll') -- cgit