0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -04:00

patch 8.2.2715: Vim9: tests fail without the channel feature

Problem:    Vim9: tests fail without the channel feature. (Dominique Pellé)
Solution:   Check for the channel feature. (closes #8063)
This commit is contained in:
Bram Moolenaar
2021-04-05 13:36:34 +02:00
parent 409da842db
commit 886e5e737d
3 changed files with 7 additions and 1 deletions

View File

@@ -2340,7 +2340,7 @@ def Test_expr7_dict_vim9script()
if has('channel')
CheckDefAndScriptFailure(lines, 'E119:', 0)
else
CheckDefAndScriptFailure(lines, 'E117:', 1)
CheckDefAndScriptFailure(lines, 'E117:', 0)
endif
enddef
@@ -2590,6 +2590,7 @@ def Test_expr7_register()
CheckDefAndScriptFailure2(["@. = 'yes'"], 'E354:', 'E488:', 1)
enddef
" This is slow when run under valgrind.
def Test_expr7_namespace()
var lines =<< trim END
g:some_var = 'some'