comparison src/testdir/test_window_cmd.vim @ 24882:4c1b6f3eb96b v8.2.2979

patch 8.2.2979: not all options code is covered by tests Commit: https://github.com/vim/vim/commit/5958549760652c173b703613b9cbf09b25a4eddb Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sat Jun 12 13:46:41 2021 +0200 patch 8.2.2979: not all options code is covered by tests Problem: Not all options code is covered by tests. Solution: Add more tests for options. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/8369)
author Bram Moolenaar <Bram@vim.org>
date Sat, 12 Jun 2021 14:00:04 +0200
parents 3c165c7432ff
children 2fc13817b100
comparison
equal deleted inserted replaced
24881:d1b9d1f8af37 24882:4c1b6f3eb96b
395 " Current window (2) should have the same width or 1 more 395 " Current window (2) should have the same width or 1 more
396 " than the other windows. 396 " than the other windows.
397 call assert_inrange(ww1, ww1 + 1, ww2) 397 call assert_inrange(ww1, ww1 + 1, ww2)
398 call assert_inrange(ww3, ww3 + 1, ww2) 398 call assert_inrange(ww3, ww3 + 1, ww2)
399 399
400 bw Xa Xb Xc 400 " when the current window width is less than the new 'winwidth', the current
401 " window width should be increased.
402 enew | only
403 split
404 10vnew
405 set winwidth=15
406 call assert_equal(15, winwidth(0))
407
408 %bw!
401 endfunc 409 endfunc
402 410
403 func Test_equalalways_on_close() 411 func Test_equalalways_on_close()
404 set equalalways 412 set equalalways
405 vsplit 413 vsplit