Patch 8.2.1742

4 views
Skip to first unread message

Bram Moolenaar

unread,
Sep 25, 2020, 5:13:25 PM9/25/20
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- 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 ///
Reply all
Reply to author
Forward
0 new messages