vim-patch:8.0.1333: some tests are run twice

Problem:    Some tests are run twice.
Solution:   Invoked most utf8 tests only from test_alot_utf8. (Yegappan
            Lakshmanan, closes vim/vim#2369)

2c997d7603
This commit is contained in:
Justin M. Keyes
2018-02-11 20:24:52 +01:00
parent aaff91d925
commit 43631675d8
3 changed files with 4 additions and 4 deletions

View File

@@ -71,16 +71,13 @@ NEW_TESTS ?= \
test_lambda.res \
test_langmap.res \
test_listlbr.res \
test_listlbr_utf8.res \
test_let.res \
test_lineending.res \
test_makeencoding.res \
test_marks.res \
test_match.res \
test_matchadd_conceal.res \
test_matchadd_conceal_utf8.res \
test_mksession.res \
test_mksession_utf8.res \
test_nested_function.res \
test_normal.res \
test_number.res \
@@ -96,7 +93,6 @@ NEW_TESTS ?= \
test_spell.res \
test_stat.res \
test_startup.res \
test_startup_utf8.res \
test_substitute.res \
test_syntax.res \
test_system.res \

View File

@@ -7,8 +7,11 @@
source test_charsearch_utf8.vim
source test_expr_utf8.vim
source test_listlbr_utf8.vim
source test_matchadd_conceal_utf8.vim
source test_mksession_utf8.vim
source test_regexp_utf8.vim
source test_source_utf8.vim
source test_startup_utf8.vim
source test_utf8.vim
source test_utf8_comparisons.vim

View File

@@ -99,6 +99,7 @@ func Test_mksession_utf8()
call delete('test_mks.out')
call delete(tmpfile)
let &wrap = wrap_save
set sessionoptions& splitbelow& fileencoding&
endfunc
" vim: shiftwidth=2 sts=2 expandtab