Mercurial > vim
view src/testdir/test_charsearch_utf8.vim @ 15406:63b02fcf1361 v8.1.0711
patch 8.1.0711: test files still use function!
commit https://github.com/vim/vim/commit/1e1153600c0377472d62cc553173fe555ddcf5a7
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 9 23:01:02 2019 +0100
patch 8.1.0711: test files still use function!
Problem: Test files still use function!.
Solution: Remove the exclamation mark. Fix overwriting a function.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 09 Jan 2019 23:15:05 +0100 |
parents | 95c646fd8d9b |
children | 2dcaa860e3fc |
line wrap: on
line source
" Tests for related f{char} and t{char} using utf-8. if !has('multi_byte') finish endif " Test for t,f,F,T movement commands func Test_search_cmds() new! call setline(1, "・最初から最後まで最強のVimは最高") 1 normal! f最 call assert_equal([0, 1, 4, 0], getpos('.')) normal! ; call assert_equal([0, 1, 16, 0], getpos('.')) normal! 2; call assert_equal([0, 1, 43, 0], getpos('.')) normal! , call assert_equal([0, 1, 28, 0], getpos('.')) bw! endfunc " vim: shiftwidth=2 sts=2 expandtab