diff src/testdir/test_listchars.vim @ 16148:90b0f2227d73 v8.1.1079

patch 8.1.1079: no need for a separate ScreenLinesUtf8() test function commit https://github.com/vim/vim/commit/48aed0824e47147faf19fc235ad4bcf851584c9c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 30 15:44:17 2019 +0100 patch 8.1.1079: no need for a separate ScreenLinesUtf8() test function Problem: No need for a separate ScreenLinesUtf8() test function. Solution: Get the composing characters with ScreenLines().
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 Mar 2019 15:45:05 +0100
parents aaa6e9a43a60
children 5fb0f15fafea
line wrap: on
line diff
--- a/src/testdir/test_listchars.vim
+++ b/src/testdir/test_listchars.vim
@@ -130,7 +130,7 @@ func Test_listchars_composing()
         \ ]
   redraw!
   call cursor(1, 1)
-  let got = ScreenLinesUtf8(1, virtcol('$'))
+  let got = ScreenLines(1, virtcol('$'))
   bw!
   call assert_equal(expected, got)
   let &encoding=oldencoding