Patch 8.2.2715
Problem: Vim9: tests fail without the channel feature. (Dominique Pellé)
Solution: Check for the channel feature. (closes #8063)
Files: src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
*** ../vim-8.2.2714/src/testdir/test_vim9_builtin.vim 2021-03-28
15:46:11.547785253 +0200
--- src/testdir/test_vim9_builtin.vim 2021-04-05 13:32:44.675939853 +0200
***************
*** 209,214 ****
--- 209,217 ----
enddef
def Test_ch_logfile()
+ if !has('channel')
+ CheckFeature channel
+ endif
assert_fails('ch_logfile(true)', 'E1174')
assert_fails('ch_logfile("foo", true)', 'E1174')
enddef
*** ../vim-8.2.2714/src/testdir/test_vim9_expr.vim 2021-04-04
20:49:46.626430253 +0200
--- src/testdir/test_vim9_expr.vim 2021-04-05 13:34:40.607648975 +0200
***************
*** 2340,2346 ****
if has('channel')
CheckDefAndScriptFailure(lines, 'E119:', 0)
else
! CheckDefAndScriptFailure(lines, 'E117:', 1)
endif
enddef
--- 2340,2346 ----
if has('channel')
CheckDefAndScriptFailure(lines, 'E119:', 0)
else
! CheckDefAndScriptFailure(lines, 'E117:', 0)
endif
enddef
***************
*** 2590,2595 ****
--- 2590,2596 ----
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'
*** ../vim-8.2.2714/src/version.c 2021-04-05 13:09:45.082815203 +0200
--- src/version.c 2021-04-05 13:35:36.043508670 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2715,
/**/
--
I'm trying to be an optimist, but I don't think it'll work.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202104051137.135Bb5hW3039999%40masaka.moolenaar.net.