Patch 8.2.1742
Problem: Test still fails without the terminal feature.
Solution: Put check for terminal feature in separate function.
Files: src/testdir/test_vim9_script.vim
*** ../vim-8.2.1741/src/testdir/test_vim9_script.vim 2020-09-25
22:13:02.340553653 +0200
--- src/testdir/test_vim9_script.vim 2020-09-25 23:12:18.279993854 +0200
***************
*** 2831,2839 ****
CheckDefAndScriptSuccess(lines)
enddef
! def Test_define_func_at_command_line()
CheckRunVimInTerminal
# run in a separate Vim instance to avoid the script context
let lines =<< trim END
func CheckAndQuit()
--- 2831,2844 ----
CheckDefAndScriptSuccess(lines)
enddef
! func Test_define_func_at_command_line()
CheckRunVimInTerminal
+ " call indirectly to avoid compilation error for missing functions
+ call Run_Test_define_func_at_command_line()
+ endfunc
+
+ def Run_Test_define_func_at_command_line()
# run in a separate Vim instance to avoid the script context
let lines =<< trim END
func CheckAndQuit()
*** ../vim-8.2.1741/src/version.c 2020-09-25 22:42:43.852669232 +0200
--- src/version.c 2020-09-25 23:11:19.392145957 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 1742,
/**/
--
Engineers are widely recognized as superior marriage material: intelligent,
dependable, employed, honest, and handy around the house.
(Scott Adams - The Dilbert principle)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ 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/202009252113.08PLDF6D580658%40masaka.moolenaar.net.