Mercurial > vim
comparison src/testdir/test_python2.vim @ 24685:04205b7d67d5 v8.2.2881
patch 8.2.2881: various pieces of code not covered by tests
Commit: https://github.com/vim/vim/commit/611728f80604dd56960e8c197e5749d203c8feb1
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Mon May 24 15:15:47 2021 +0200
patch 8.2.2881: various pieces of code not covered by tests
Problem: Various pieces of code not covered by tests.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/8245)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 24 May 2021 15:30:03 +0200 |
parents | 8feb0450b690 |
children | 485c7c4afeb7 |
comparison
equal
deleted
inserted
replaced
24684:1706f44ede8e | 24685:04205b7d67d5 |
---|---|
312 func Test_python_window() | 312 func Test_python_window() |
313 " Test for setting the window height | 313 " Test for setting the window height |
314 10new | 314 10new |
315 py vim.current.window.height = 5 | 315 py vim.current.window.height = 5 |
316 call assert_equal(5, winheight(0)) | 316 call assert_equal(5, winheight(0)) |
317 py vim.current.window.height = 3.2 | |
318 call assert_equal(3, winheight(0)) | |
317 | 319 |
318 " Test for setting the window width | 320 " Test for setting the window width |
319 10vnew | 321 10vnew |
320 py vim.current.window.width = 6 | 322 py vim.current.window.width = 6 |
321 call assert_equal(6, winwidth(0)) | 323 call assert_equal(6, winwidth(0)) |