Mercurial > vim
comparison src/testdir/test_tabpage.vim @ 20941:505d97ea54da v8.2.1022
patch 8.2.1022: various parts of code not covered by tests
Commit: https://github.com/vim/vim/commit/845e0ee59430eac07e74b6cb92020e420d17953d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 20 16:05:32 2020 +0200
patch 8.2.1022: various parts of code not covered by tests
Problem: Various parts of code not covered by tests.
Solution: Add more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/6300)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 20 Jun 2020 16:15:04 +0200 |
parents | 116c7bd5e980 |
children | 1c71605f0c5d |
comparison
equal
deleted
inserted
replaced
20940:88ce5327f213 | 20941:505d97ea54da |
---|---|
621 call feedkeys("q/:tabonly\<CR>\<Esc>", 'xt') | 621 call feedkeys("q/:tabonly\<CR>\<Esc>", 'xt') |
622 call assert_equal(2, tabpagenr('$')) | 622 call assert_equal(2, tabpagenr('$')) |
623 tabonly | 623 tabonly |
624 endfunc | 624 endfunc |
625 | 625 |
626 " Pressing <C-PageUp> in insert mode should go to the previous tab page | |
627 " and <C-PageDown> should go to the next tab page | |
628 func Test_tabpage_Ctrl_Pageup() | |
629 tabnew | |
630 call feedkeys("i\<C-PageUp>", 'xt') | |
631 call assert_equal(1, tabpagenr()) | |
632 call feedkeys("i\<C-PageDown>", 'xt') | |
633 call assert_equal(2, tabpagenr()) | |
634 %bw! | |
635 endfunc | |
636 | |
626 " vim: shiftwidth=2 sts=2 expandtab | 637 " vim: shiftwidth=2 sts=2 expandtab |