aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-08-29 00:19:01 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-08-30 21:12:26 -0400
commitd4df5fc90e83334de32fe5fe4a200f3b75a2d8c9 (patch)
tree5a7ef4123850b3c876c50a3abf4d29d86b36047a
parentf48847c5781e8021a963ef441ff588e4632686d0 (diff)
downloadrneovim-d4df5fc90e83334de32fe5fe4a200f3b75a2d8c9.tar.gz
rneovim-d4df5fc90e83334de32fe5fe4a200f3b75a2d8c9.tar.bz2
rneovim-d4df5fc90e83334de32fe5fe4a200f3b75a2d8c9.zip
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
-rw-r--r--src/nvim/testdir/test_display.vim11
1 files changed, 11 insertions, 0 deletions
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\<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')