]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0199: Not enough tests for the slice() function v9.1.0199
authorzeertzjq <zeertzjq@outlook.com>
Sat, 23 Mar 2024 07:23:48 +0000 (08:23 +0100)
committerChristian Brabandt <cb@256bit.org>
Sat, 23 Mar 2024 07:25:41 +0000 (08:25 +0100)
commitad38769030b5fa86aa0e8f1f0b4266690dfad4c9
tree2047fc01b8c70326d9b87b47a575e7e5f2141b62
parentd990bf08d85d83e14fc51fd99a66ebe2f36d2fcd
patch 9.1.0199: Not enough tests for the slice() function

Problem:  Not enough tests for the slice() function.
Solution: Test with multibyte chars, and in both Legacy and Vim9 script.
          Update docs to be clearer about how it treats composing chars.
          (zeertzjq)

closes: #14275

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/builtin.txt
src/testdir/test_functions.vim
src/testdir/test_vim9_builtin.vim
src/version.c