xref: /vim-8.2.3635/src/testdir/test_visual.vim (revision 818c9e7e)
1" Tests for Visual mode
2if !has('multi_byte')
3  finish
4endif
5set encoding=utf-8
6scriptencoding utf-8
7
8if !has('visual')
9  finish
10endif
11
12func Test_block_shift_multibyte()
13  split
14  call setline(1, ['xヹxxx', 'ヹxxx'])
15  exe "normal 1G0l\<C-V>jl>"
16  call assert_equal('x	 ヹxxx', getline(1))
17  call assert_equal('	ヹxxx', getline(2))
18  q!
19endfunc
20