forked from aniani/vim
patch 9.1.0863: getcellpixels() can be further improved
Problem: getcellpixels() can be further improved
Solution: improve it further, add more tests
(mikoto2000)
closes: #16047
Signed-off-by: mikoto2000 <mikoto2000@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
0acd3abfad
commit
de094dcd6f
@@ -273,14 +273,6 @@ func Test_setcellwidths()
|
||||
bwipe!
|
||||
endfunc
|
||||
|
||||
" Pixel size of a cell is terminal-dependent, so in the test, only the list and size 2 are checked.
|
||||
func Test_getcellpixels()
|
||||
" Not yet Windows-compatible
|
||||
CheckNotMSWindows
|
||||
let cellpixels = getcellpixels()
|
||||
call assert_equal(2, len(cellpixels))
|
||||
endfunc
|
||||
|
||||
func Test_getcellwidths()
|
||||
call setcellwidths([])
|
||||
call assert_equal([], getcellwidths())
|
||||
|
||||
Reference in New Issue
Block a user