diff src/testdir/test_display.vim @ 17618:9695e9fed059 v8.1.1806

patch 8.1.1806: test for display updating doesn't check without statusline commit https://github.com/vim/vim/commit/7cc535175a233c6f02cdb5a364b3590560f5bfcb Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 3 23:30:21 2019 +0200 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.
author Bram Moolenaar <Bram@vim.org>
date Sat, 03 Aug 2019 23:45:05 +0200
parents d7708560b77c
children 851a014dfd8b
line wrap: on
line diff
--- a/src/testdir/test_display.vim
+++ b/src/testdir/test_display.vim
@@ -88,6 +88,17 @@ func Test_scroll_without_region()
   call term_sendkeys(buf, ":4put\<cr>")
   call VerifyScreenDump(buf, 'Test_scroll_no_region_3', {})
 
+  call term_sendkeys(buf, ":undo\<cr>")
+  call term_sendkeys(buf, ":undo\<cr>")
+  call term_sendkeys(buf, ":set laststatus=0\<cr>")
+  call VerifyScreenDump(buf, 'Test_scroll_no_region_4', {})
+
+  call term_sendkeys(buf, ":3delete\<cr>")
+  call VerifyScreenDump(buf, 'Test_scroll_no_region_5', {})
+
+  call term_sendkeys(buf, ":4put\<cr>")
+  call VerifyScreenDump(buf, 'Test_scroll_no_region_6', {})
+
   " clean up
   call StopVimInTerminal(buf)
   call delete('Xtestscroll')