1" Tests for related f{char} and t{char} using utf-8.
2
3" Test for t,f,F,T movement commands
4function! Test_search_cmds()
5  new!
6  call setline(1, "・最初から最後まで最強のVimは最高")
7  1
8  normal! f最
9  call assert_equal([0, 1, 4, 0], getpos('.'))
10  normal! ;
11  call assert_equal([0, 1, 16, 0], getpos('.'))
12  normal! 2;
13  call assert_equal([0, 1, 43, 0], getpos('.'))
14  normal! ,
15  call assert_equal([0, 1, 28, 0], getpos('.'))
16  bw!
17endfunc
18
19" vim: shiftwidth=2 sts=2 expandtab
20