From 588cf7547bafaff46a82bc125d05d24a1cedf827 Mon Sep 17 00:00:00 2001 From: Dominique Pelle Date: Mon, 10 May 2021 23:49:39 +0200 Subject: patch 8.2.2847: Perl not tested sufficiently MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: Perl not tested sufficiently. Solution: Add test. Also test W17. (Dominique Pellé, closes #8193) --- src/testdir/test_arabic.vim | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/testdir/test_arabic.vim') 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 -- cgit v1.2.3