Mercurial > vim
changeset 27488:07da466dcf6d v8.2.4272
patch 8.2.4272: Vim9 expr test fails without the channel feature
Commit: https://github.com/vim/vim/commit/eb6c2765959c91ddbb527f96f91ba5be199b8d41
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 31 13:36:36 2022 +0000
patch 8.2.4272: Vim9 expr test fails without the channel feature
Problem: Vim9 expr test fails without the channel feature. (Dominique
Pell?)
Solution: Remove "g:" before "CheckFeature". (closes #9671)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 31 Jan 2022 14:45:04 +0100 |
parents | e2a8c7425462 |
children | 9f00e1edb43c |
files | src/testdir/test_vim9_expr.vim src/version.c |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_vim9_expr.vim +++ b/src/testdir/test_vim9_expr.vim @@ -1472,7 +1472,8 @@ func Test_expr5_fails() endfunc func Test_expr5_fails_channel() - g:CheckFeature channel + CheckFeature channel + call v9.CheckDefAndScriptFailure(["var x = 'a' .. test_null_job()"], ['E1105:', 'E908:'], 1) call v9.CheckDefAndScriptFailure(["var x = 'a' .. test_null_channel()"], ['E1105:', 'E908:'], 1) endfunc @@ -1689,7 +1690,7 @@ func Test_expr6_fails() endfunc func Test_expr6_float_fails() - g:CheckFeature float + CheckFeature float call v9.CheckDefAndScriptFailure(["var x = 1.0 % 2"], ['E1035:', 'E804:'], 1) endfunc