Mercurial > vim
comparison src/testdir/test_tabpage.vim @ 20625:116c7bd5e980 v8.2.0866
patch 8.2.0866: not enough tests for buffer writing
Commit: https://github.com/vim/vim/commit/494e9069cb32620f7688a7cb128a3feff827639e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 31 21:28:02 2020 +0200
patch 8.2.0866: not enough tests for buffer writing
Problem: Not enough tests for buffer writing.
Solution: Add more tests. Use CheckRunVimInTerminal in more places.
(Yegappan Lakshmanan, closes #6167)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 31 May 2020 21:30:03 +0200 |
parents | 94f05de75e9f |
children | 505d97ea54da |
comparison
equal
deleted
inserted
replaced
20624:f782c48d548a | 20625:116c7bd5e980 |
---|---|
591 1tabonly! | 591 1tabonly! |
592 bw! | 592 bw! |
593 endfunc | 593 endfunc |
594 | 594 |
595 func Test_tabpage_cmdheight() | 595 func Test_tabpage_cmdheight() |
596 if !CanRunVimInTerminal() | 596 CheckRunVimInTerminal |
597 throw 'Skipped: cannot make screendumps' | |
598 endif | |
599 call writefile([ | 597 call writefile([ |
600 \ 'set laststatus=2', | 598 \ 'set laststatus=2', |
601 \ 'set cmdheight=2', | 599 \ 'set cmdheight=2', |
602 \ 'tabnew', | 600 \ 'tabnew', |
603 \ 'set cmdheight=3', | 601 \ 'set cmdheight=3', |