From: Bram Moolenaar Date: Sat, 5 Mar 2016 16:26:00 +0000 (+0100) Subject: Add new test file. X-Git-Tag: v7.4.1492~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=019b9c644e92742e37efc08fef47c2620a01b6b3;p=thirdparty%2Fvim.git Add new test file. --- diff --git a/src/testdir/test_visual.vim b/src/testdir/test_visual.vim new file mode 100644 index 0000000000..177f571454 --- /dev/null +++ b/src/testdir/test_visual.vim @@ -0,0 +1,19 @@ +" Tests for Visual mode +if !has('multi_byte') + finish +endif +set encoding=utf-8 +scriptencoding utf-8 + +if !has('visual') + finish +endif + +func Test_block_shift_multibyte() + split + call setline(1, ['xヹxxx', 'ヹxxx']) + exe "normal 1G0l\jl>" + call assert_equal('x ヹxxx', getline(1)) + call assert_equal(' ヹxxx', getline(2)) + q! +endfunc