]> granicus.if.org Git - vim/commitdiff
Add files missing from 7.4.408.
authorBram Moolenaar <Bram@vim.org>
Sat, 16 Aug 2014 17:45:02 +0000 (19:45 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 16 Aug 2014 17:45:02 +0000 (19:45 +0200)
src/testdir/test_utf8.in [new file with mode: 0644]
src/testdir/test_utf8.ok [new file with mode: 0644]

diff --git a/src/testdir/test_utf8.in b/src/testdir/test_utf8.in
new file mode 100644 (file)
index 0000000..713fee2
--- /dev/null
@@ -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:
diff --git a/src/testdir/test_utf8.ok b/src/testdir/test_utf8.ok
new file mode 100644 (file)
index 0000000..c5bed54
--- /dev/null
@@ -0,0 +1,4 @@
+start:
+axaa
+xあああ
+bxbb