summaryrefslogtreecommitdiff
path: root/src/testdir/test_utf8.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-08-16 19:45:02 +0200
committerBram Moolenaar <Bram@vim.org>2014-08-16 19:45:02 +0200
commit2a5868ab1ec14668aa7499477c57895064766eff (patch)
treebbb68e649e27ee4aa604d0f054a382c932110bec /src/testdir/test_utf8.in
parentb5cf6c34e84bd52ba43c3db06ff337abbcb08326 (diff)
downloadvim-git-2a5868ab1ec14668aa7499477c57895064766eff.tar.gz
Add files missing from 7.4.408.
Diffstat (limited to 'src/testdir/test_utf8.in')
-rw-r--r--src/testdir/test_utf8.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/testdir/test_utf8.in b/src/testdir/test_utf8.in
new file mode 100644
index 000000000..713fee2c8
--- /dev/null
+++ b/src/testdir/test_utf8.in
@@ -0,0 +1,18 @@
+Tests for Unicode manipulations vim: set ft=vim :
+
+STARTTEST
+:so small.vim
+:set encoding=utf-8
+:" Visual block Insert adjusts for multi-byte char
+:new
+:call setline(1, ["aaa", "あああ", "bbb"])
+:exe ":norm! gg0l\<C-V>jjIx\<Esc>"
+:let r = getline(1, '$')
+:
+:bwipeout!
+:$put=r
+:call garbagecollect(1)
+:/^start:/,$wq! test.out
+ENDTEST
+
+start: