summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_alot_utf8.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-07-21 20:33:32 +0200
committerBram Moolenaar <Bram@vim.org>2016-07-21 20:33:32 +0200
commitac105ed3c420660ddbddc501c97875c48220817e (patch)
treeaf1f72494dadb3775100f85e65c8e0e970879e56 /src/testdir/test_alot_utf8.vim
parentdfd63e30d13fff5603416b6c7e247cebeb003eb0 (diff)
patch 7.4.2086v7.4.2086
Problem: Using the system default encoding makes tests unpredictable. Solution: Always use utf-8 or latin1 in the new style tests. Remove setting encoding and scriptencoding where it is not needed.
Diffstat (limited to 'src/testdir/test_alot_utf8.vim')
-rw-r--r--src/testdir/test_alot_utf8.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testdir/test_alot_utf8.vim b/src/testdir/test_alot_utf8.vim
index 8824ee5e15..049251f9a7 100644
--- a/src/testdir/test_alot_utf8.vim
+++ b/src/testdir/test_alot_utf8.vim
@@ -1,7 +1,8 @@
" A series of tests that can run in one Vim invocation.
" This makes testing go faster, since Vim doesn't need to restart.
-" These tests use utf8 'encoding'. Setting 'encoding' is in the individual
+" These tests use utf8 'encoding'. Setting 'encoding' is already done in
+" runtest.vim. Checking for the multi_byte feature is in the individual
" files, so that they can be run by themselves.
source test_expr_utf8.vim