blob: 240546bc23f0a558f523e90fdc2481b5fd0f6684 [file] [log] [blame]
Bram Moolenaarac105ed2016-07-21 20:33:32 +02001" Tests for Visual mode. Uses double-wide character.
Bram Moolenaar019b9c62016-03-05 17:26:00 +01002if !has('multi_byte')
3 finish
4endif
Bram Moolenaar019b9c62016-03-05 17:26:00 +01005
6if !has('visual')
7 finish
8endif
9
10func Test_block_shift_multibyte()
11 split
12 call setline(1, ['xヹxxx', 'ヹxxx'])
13 exe "normal 1G0l\<C-V>jl>"
14 call assert_equal('x ヹxxx', getline(1))
15 call assert_equal(' ヹxxx', getline(2))
16 q!
17endfunc