comparison src/testdir/test_window_cmd.vim @ 19783:546bdeef35f1 v8.2.0448

patch 8.2.0448: various functions not properly tested Commit: https://github.com/vim/vim/commit/0e05de46226eb4e5ea580beefa71831f92d613d3 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 25 22:23:46 2020 +0100 patch 8.2.0448: various functions not properly tested Problem: Various functions not properly tested. Solution: Add more tests, especially for failures. (Yegappan Lakshmanan, closes #5843)
author Bram Moolenaar <Bram@vim.org>
date Wed, 25 Mar 2020 22:30:04 +0100
parents 0927df746554
children 2c4d9ca33769
comparison
equal deleted inserted replaced
19782:e5f4316b01dd 19783:546bdeef35f1
523 523
524 wincmd T 524 wincmd T
525 call assert_equal(2, tabpagenr('$')) 525 call assert_equal(2, tabpagenr('$'))
526 call assert_equal(['Xb', 'Xa'], map(tabpagebuflist(1), 'bufname(v:val)')) 526 call assert_equal(['Xb', 'Xa'], map(tabpagebuflist(1), 'bufname(v:val)'))
527 call assert_equal(['Xc' ], map(2->tabpagebuflist(), 'bufname(v:val)')) 527 call assert_equal(['Xc' ], map(2->tabpagebuflist(), 'bufname(v:val)'))
528 call assert_equal(['Xc' ], map(tabpagebuflist(), 'bufname(v:val)'))
528 529
529 %bw! 530 %bw!
530 endfunc 531 endfunc
531 532
532 func Test_next_split_all() 533 func Test_next_split_all()