diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-24 17:59:39 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-24 17:59:39 +0100 |
commit | 30276f2beb248557c6b33cd5418bca8b7084b0a5 (patch) | |
tree | 56f7b88712a5ffffdd10681983e70501e2e1ba58 /src/testdir/test_cmdline.vim | |
parent | 264b74fa545edfb92c0d7d08a02c26331cc5b168 (diff) |
patch 8.1.0811: too many #ifdefsv8.1.0811
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, the final chapter.
Diffstat (limited to 'src/testdir/test_cmdline.vim')
-rw-r--r-- | src/testdir/test_cmdline.vim | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim index 9a4ccd11d5..4dcda858e8 100644 --- a/src/testdir/test_cmdline.vim +++ b/src/testdir/test_cmdline.vim @@ -582,7 +582,7 @@ func Test_setcmdpos() endfunc func Test_cmdline_overstrike() - let encodings = has('multi_byte') ? [ 'latin1', 'utf8' ] : [ 'latin1' ] + let encodings = ['latin1', 'utf8'] let encoding_save = &encoding for e in encodings @@ -601,11 +601,9 @@ func Test_cmdline_overstrike() call assert_equal('"ab0cd3ef4', @:) endfor - if has('multi_byte') - " Test overstrike with multi-byte characters. - call feedkeys(":\"テキストエディタ\<home>\<right>\<right>ab\<right>\<insert>cd\<enter>", 'xt') - call assert_equal('"テabキcdエディタ', @:) - endif + " Test overstrike with multi-byte characters. + call feedkeys(":\"テキストエディタ\<home>\<right>\<right>ab\<right>\<insert>cd\<enter>", 'xt') + call assert_equal('"テabキcdエディタ', @:) let &encoding = encoding_save endfunc |