Mercurial > vim
diff src/testdir/test_utf8.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 | eb087f8a26a8 |
children | 219c58b3879c |
line wrap: on
line diff
--- a/src/testdir/test_utf8.vim +++ b/src/testdir/test_utf8.vim @@ -91,7 +91,7 @@ func Test_screenchar_utf8() call assert_equal("", screenstring(1, 4)) call assert_equal("\u3046\u3099", screenstring(1, 5)) - call assert_equal([text . ' '], ScreenLinesUtf8(1, 8)) + call assert_equal([text . ' '], ScreenLines(1, 8)) bwipe! endfunc