diff options
author | Dominique Pelle <dominique.pelle@gmail.com> | 2021-05-10 23:49:39 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-05-10 23:49:39 +0200 |
commit | 588cf7547bafaff46a82bc125d05d24a1cedf827 (patch) | |
tree | 658f0e2e7189e7704736877cb5509a13660cd38e /src/testdir/test_arabic.vim | |
parent | 68db996b621b98066fb7ab7028ed5c6aaa3954a8 (diff) |
patch 8.2.2847: Perl not tested sufficientlyv8.2.2847
Problem: Perl not tested sufficiently.
Solution: Add test. Also test W17. (Dominique Pellé, closes #8193)
Diffstat (limited to 'src/testdir/test_arabic.vim')
-rw-r--r-- | src/testdir/test_arabic.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/testdir/test_arabic.vim b/src/testdir/test_arabic.vim index 272937387d..73b85c4783 100644 --- a/src/testdir/test_arabic.vim +++ b/src/testdir/test_arabic.vim @@ -584,4 +584,12 @@ func Test_arabic_chars_in_search_cmd() bwipe! endfunc +func Test_W17_arabic_requires_utf8() + let save_enc = &encoding + set encoding=latin1 arabic + call assert_match('^W17:', GetMessages()[-1]) + set arabic& + let &encoding = save_enc +endfunc + " vim: shiftwidth=2 sts=2 expandtab |