diff options
-rw-r--r-- | src/testdir/test_search_mbyte.in | 15 | ||||
-rw-r--r-- | src/testdir/test_search_mbyte.ok | 5 |
2 files changed, 20 insertions, 0 deletions
diff --git a/src/testdir/test_search_mbyte.in b/src/testdir/test_search_mbyte.in new file mode 100644 index 000000000..4570a6207 --- /dev/null +++ b/src/testdir/test_search_mbyte.in @@ -0,0 +1,15 @@ +Test for search('multi-byte char', 'bce') + +STARTTEST +:source small.vim +:source mbyte.vim +:set encoding=utf-8 +:/^Test bce:/+1 +:$put =search('A', 'bce', line('.')) +:1;/^Results:/,$wq! test.out +ENDTEST + +Results: + +Test bce: +A diff --git a/src/testdir/test_search_mbyte.ok b/src/testdir/test_search_mbyte.ok new file mode 100644 index 000000000..2af153a05 --- /dev/null +++ b/src/testdir/test_search_mbyte.ok @@ -0,0 +1,5 @@ +Results: + +Test bce: +A +15 |