aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_expr_utf8.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-02-11 19:30:26 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-02-11 20:15:43 +0100
commitff4a628081c3fb50ea064353030a98375332cc23 (patch)
tree0ae0d88f876fe33cbaea21885234b3fac3d685a3 /src/nvim/testdir/test_expr_utf8.vim
parentf389196a344591da2f6cc2a63f4953e34316f954 (diff)
downloadrneovim-ff4a628081c3fb50ea064353030a98375332cc23.tar.gz
rneovim-ff4a628081c3fb50ea064353030a98375332cc23.tar.bz2
rneovim-ff4a628081c3fb50ea064353030a98375332cc23.zip
test/old: restore test_alot_utf8.vim
Needed for later Vim patches. Stub test_alot_latin.vim to avoid merge-conflict noise. vim-patch:7.4.1700 vim-patch:7.4.1734 vim-patch:7.4.1740 vim-patch:7.4.2086 vim-patch:7.4.2223 vim-patch:8.0.0250
Diffstat (limited to 'src/nvim/testdir/test_expr_utf8.vim')
-rw-r--r--src/nvim/testdir/test_expr_utf8.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_expr_utf8.vim b/src/nvim/testdir/test_expr_utf8.vim
index 9ea6d8872b..1737a9f745 100644
--- a/src/nvim/testdir/test_expr_utf8.vim
+++ b/src/nvim/testdir/test_expr_utf8.vim
@@ -3,7 +3,7 @@ if !has('multi_byte')
finish
endif
-func Test_strgetchar_utf8()
+func Test_strgetchar()
call assert_equal(char2nr('á'), strgetchar('áxb', 0))
call assert_equal(char2nr('x'), strgetchar('áxb', 1))
@@ -16,7 +16,7 @@ func Test_strgetchar_utf8()
call assert_equal(char2nr('い'), strgetchar('あaい', 2))
endfunc
-func Test_strcharpart_utf8()
+func Test_strcharpart()
call assert_equal('áxb', strcharpart('áxb', 0))
call assert_equal('á', strcharpart('áxb', 0, 1))
call assert_equal('x', strcharpart('áxb', 1, 1))